fixed disable serial port function
This commit is contained in:
parent
2a6f6233af
commit
9b807179f9
|
|
@ -177,7 +177,8 @@ esp_err_t WebGuiAppInit(void)
|
|||
#endif
|
||||
|
||||
#if CONFIG_WEBGUIAPP_UART_TRANSPORT_ENABLE
|
||||
InitSerialPort();
|
||||
if(GetSysConf()->serialSettings.Flags.IsSerialEnabled)
|
||||
InitSerialPort();
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_WEBGUIAPP_PPPOS_ENABLE
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user