bool uart_handshake(struct bldr_command_handler *handler) { bool result = FALSE; result = uart_handshake_handler(handler); if (result == TRUE) { print("%s <UART> handshake pass!\n",MOD); } return result; }
bool uart_handshake(struct bldr_command_handler *handler) { bool result = FALSE; if (g_boot_mode == META_BOOT || g_boot_mode == ADVMETA_BOOT) { print("%s aleady detected meta tool!\n", MOD); } else { result = uart_handshake_handler(handler); } if (result == TRUE) { print("%s <UART> handshake pass!\n",MOD); } return result; }