diff --git a/Firmware/LowLevel/platformio.ini b/Firmware/LowLevel/platformio.ini index 8ba57d49..77178bc5 100644 --- a/Firmware/LowLevel/platformio.ini +++ b/Firmware/LowLevel/platformio.ini @@ -33,7 +33,8 @@ lib_deps = debug_tool = custom debug_init_break = debug_load_mode = always -debug_port = tcp:openmower.local:3333 +;debug_port = tcp:openmower.local:3333 +debug_port = tcp:dolly:3333 ; 133MHz board_build.f_cpu = 133000000L diff --git a/Firmware/LowLevel/src/main.cpp b/Firmware/LowLevel/src/main.cpp index 9b364440..87fb934e 100644 --- a/Firmware/LowLevel/src/main.cpp +++ b/Firmware/LowLevel/src/main.cpp @@ -551,7 +551,7 @@ void onUIPacketReceived(const uint8_t *buffer, size_t size) { else if (buffer[0] == Get_Rain && size == sizeof(struct msg_event_rain)) { struct msg_event_rain *msg = (struct msg_event_rain *)buffer; - stock_ui_rain = (msg->value < msg->threshold); + stock_ui_rain = (msg->value < llhl_config.rain_threshold); } else if (buffer[0] == Get_Subscribe && size == sizeof(struct msg_event_subscribe)) {