Fix build issue
This commit is contained in:
parent
694f0ffa68
commit
2042ceccd1
@ -238,7 +238,7 @@ void LinBusListener::read_lin_frame_() {
|
|||||||
// Even on error read data.
|
// Even on error read data.
|
||||||
this->current_state_ = READ_STATE_DATA;
|
this->current_state_ = READ_STATE_DATA;
|
||||||
break;
|
break;
|
||||||
case READ_STATE_DATA:
|
case READ_STATE_DATA: {
|
||||||
auto current = micros();
|
auto current = micros();
|
||||||
if (current > (this->last_data_recieved_ + this->time_per_first_byte_)) {
|
if (current > (this->last_data_recieved_ + this->time_per_first_byte_)) {
|
||||||
// timeout occured.
|
// timeout occured.
|
||||||
@ -254,6 +254,7 @@ void LinBusListener::read_lin_frame_() {
|
|||||||
this->current_state_ = READ_STATE_ACT;
|
this->current_state_ = READ_STATE_ACT;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user