example: freertos: init gpio mode
Signed-off-by: liangkangnan <liangkangnan@163.com>pull/1/head
parent
f10a4ac49b
commit
2c8762a102
|
@ -107,7 +107,7 @@ int main( void )
|
||||||
|
|
||||||
static void prvSetupHardware( void )
|
static void prvSetupHardware( void )
|
||||||
{
|
{
|
||||||
|
GPIO_REG(GPIO_CTRL) |= 0x1; // set gpio0 output mode
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue