From 5f94fa9df41fbdb2fe1874a9e4e0eee0ba7cb061 Mon Sep 17 00:00:00 2001 From: rusEfi Date: Wed, 26 Nov 2014 16:03:18 -0600 Subject: [PATCH] auto-sync --- firmware/controllers/trigger/trigger_decoder.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/controllers/trigger/trigger_decoder.h b/firmware/controllers/trigger/trigger_decoder.h index 3969b96007..25b983e8a4 100644 --- a/firmware/controllers/trigger/trigger_decoder.h +++ b/firmware/controllers/trigger/trigger_decoder.h @@ -33,11 +33,11 @@ public: */ bool shaft_is_synchronized; - uint64_t toothed_previous_duration; + uint32_t toothed_previous_duration; /** * this could be a local variable, but it's better for debugging to have it as a field */ - int64_t currentDuration; + uint32_t currentDuration; uint64_t toothed_previous_time; /**