example: freertos: init gpio mode

Signed-off-by: liangkangnan <liangkangnan@163.com>
pull/1/head
liangkangnan 2020-06-14 22:06:25 +08:00
parent f10a4ac49b
commit 2c8762a102
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ int main( void )
static void prvSetupHardware( void ) static void prvSetupHardware( void )
{ {
GPIO_REG(GPIO_CTRL) |= 0x1; // set gpio0 output mode
} }
/*-----------------------------------------------------------*/ /*-----------------------------------------------------------*/