From 2042ceccd184c8395769e2f76a2741eab32281d4 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 10 Mar 2024 15:37:43 +0100 Subject: [PATCH] Fix build issue --- components/truma_inetbox/LinBusListener.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/truma_inetbox/LinBusListener.cpp b/components/truma_inetbox/LinBusListener.cpp index 32a84a1..3077b8a 100644 --- a/components/truma_inetbox/LinBusListener.cpp +++ b/components/truma_inetbox/LinBusListener.cpp @@ -238,7 +238,7 @@ void LinBusListener::read_lin_frame_() { // Even on error read data. this->current_state_ = READ_STATE_DATA; break; - case READ_STATE_DATA: + case READ_STATE_DATA: { auto current = micros(); if (current > (this->last_data_recieved_ + this->time_per_first_byte_)) { // timeout occured. @@ -254,6 +254,7 @@ void LinBusListener::read_lin_frame_() { this->current_state_ = READ_STATE_ACT; } break; + } default: break; }