Feature/port avr build check (#35)
* fix atmega168 build. * remove time.h to solve AVR compile * Add AVR build to CI for compile check
This commit is contained in:
@@ -260,7 +260,7 @@ bool RS485_ReceiveError(
|
||||
void)
|
||||
{
|
||||
bool ReceiveError = false;
|
||||
uint8_t dummy_data;
|
||||
volatile uint8_t dummy_data;
|
||||
|
||||
/* check for framing error */
|
||||
#if 0
|
||||
@@ -281,6 +281,7 @@ bool RS485_ReceiveError(
|
||||
if (ReceiveError) {
|
||||
RS485_LED1_On();
|
||||
}
|
||||
(void)dummy_data;
|
||||
|
||||
return ReceiveError;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user