mirror of
https://github.com/elua/elua.git
synced 2025-01-25 01:02:54 +08:00
fixes floating UART RX pin problem on Mizar32
This commit is contained in:
parent
edc33fdd83
commit
533986551c
@ -170,6 +170,9 @@ int platform_init()
|
||||
#endif
|
||||
|
||||
cmn_platform_init();
|
||||
#ifdef ELUA_BOARD_MIZAR32
|
||||
platform_pio_op( 0, ( pio_type )1 << 0 , PLATFORM_IO_PIN_PULLUP );
|
||||
#endif
|
||||
|
||||
// All done
|
||||
return PLATFORM_OK;
|
||||
|
Loading…
x
Reference in New Issue
Block a user