From a8af5095179562608c60b05419893a506e57273f Mon Sep 17 00:00:00 2001 From: Jason Short Date: Wed, 4 Jan 2012 17:31:06 -0800 Subject: [PATCH] timer set to unsigned --- ArduCopter/ArduCopter.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduCopter/ArduCopter.pde b/ArduCopter/ArduCopter.pde index 6c0bf27bf4..ab2b39c000 100644 --- a/ArduCopter/ArduCopter.pde +++ b/ArduCopter/ArduCopter.pde @@ -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) {