Feature/port arm build check (#34)

* add GCC ARM compiler to travis pre-script and add some ARM ports to job
This commit is contained in:
Steve Karg
2020-01-19 19:43:50 -06:00
committed by GitHub
parent 61336fb557
commit 738ef825b0
5 changed files with 25 additions and 12 deletions
+4 -1
View File
@@ -43,6 +43,7 @@
#include <stdint.h>
#include "board.h"
#include "bacnet/datalink/dlmstp.h"
#include "timer.h"
/* global variable counts interrupts */
volatile unsigned long Timer_Milliseconds;
@@ -309,8 +310,10 @@ static void Timer0IrqHandler(
dummy = pTC->TC_SR;
/* increment the tick count */
Timer_Milliseconds++;
if (SilenceTime < 60000)
if (SilenceTime < 60000) {
SilenceTime++;
}
(void)dummy;
}
int Timer_Silence(