Watchdog to log baud rate
This commit is contained in:
@@ -2986,15 +2986,19 @@ script:
|
||||
#endif
|
||||
|
||||
// Report UART
|
||||
ESP_LOGD(TAG, "UART queue: %d", tf_uart->available());
|
||||
ESP_LOGD(TAG, "UART:");
|
||||
ESP_LOGD(TAG, " Baud rate: %d bps", tf_uart->get_baud_rate());
|
||||
ESP_LOGD(TAG, " Queue size: %d", tf_uart->available());
|
||||
|
||||
// Report Nextion status
|
||||
nextion_init->publish_state(nextion_init->state and disp1->is_setup());
|
||||
ESP_LOGD(TAG, "Nextion:");
|
||||
if (disp1->is_setup())
|
||||
ESP_LOGD(TAG, " Is setup: True");
|
||||
else if (disp1->is_detected())
|
||||
ESP_LOGW(TAG, " Is detected: %s", disp1->is_detected() ? "True" : "False");
|
||||
else {
|
||||
ESP_LOGW(TAG, " Is setup: False");
|
||||
ESP_LOGW(TAG, " Is detected: %s", disp1->is_detected() ? "True" : "False");
|
||||
}
|
||||
if (nextion_init->state)
|
||||
ESP_LOGD(TAG, " Init: True");
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user