Fix build issue

This commit is contained in:
Your Name 2024-03-10 15:37:43 +01:00
parent 694f0ffa68
commit 2042ceccd1

View File

@ -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;
}