From 3d35139adf352338cbb1cb0cefe91738ef57d42a Mon Sep 17 00:00:00 2001 From: Jan Horacek Date: Wed, 25 May 2022 18:30:16 +0200 Subject: [PATCH] Avoid browser overflow. --- fw/src/browser.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fw/src/browser.c b/fw/src/browser.c index aead783..fc58c40 100644 --- a/fw/src/browser.c +++ b/fw/src/browser.c @@ -72,6 +72,9 @@ void _browser_print(uint8_t part) { put_ui16(" .angle=", turnout.angle); put_ui16(" .angle_plus=", turnout.angle_plus); put_ui16(" .angle_minus=", turnout.angle_minus); + break; + + case 2: put_ui16(" .sensor_plus=", turnout.sensor_plus); put_ui16(" .sensor_minus=", turnout.sensor_minus); break;