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