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:
Steve Karg
2020-01-19 20:33:03 -06:00
committed by GitHub
parent 738ef825b0
commit c9399ce501
7 changed files with 19 additions and 6 deletions
+2 -1
View File
@@ -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;
}