mirror of https://github.com/ArduPilot/ardupilot
timer set to unsigned
This commit is contained in:
parent
53e4880cc1
commit
a8af509517
|
@ -817,7 +817,7 @@ void setup() {
|
|||
|
||||
void loop()
|
||||
{
|
||||
int32_t timer = micros();
|
||||
uint32_t timer = micros();
|
||||
// We want this to execute fast
|
||||
// ----------------------------
|
||||
if ((timer - fast_loopTimer) >= 5000) {
|
||||
|
|
Loading…
Reference in New Issue