From 75b3b1ad407dd68f6d90f9669934b061b742913d Mon Sep 17 00:00:00 2001 From: Bertrand Lemasle Date: Sun, 5 Aug 2018 17:04:11 +1200 Subject: [PATCH] Fixed alerts not starting at first bit --- GpsTracker/Alerts.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/GpsTracker/Alerts.h b/GpsTracker/Alerts.h index 8c7e825..a0edc99 100644 --- a/GpsTracker/Alerts.h +++ b/GpsTracker/Alerts.h @@ -2,10 +2,10 @@ #include "Positions.h" -#define ALERT_BATTERY_LEVEL_1 1 -#define ALERT_BATTERY_LEVEL_2 2 -#define ALERT_RTC_TEMPERATURE_FAILURE 3 -#define ALERT_RTC_CLOCK_FAILURE 4 +#define ALERT_BATTERY_LEVEL_1 0 +#define ALERT_BATTERY_LEVEL_2 1 +#define ALERT_RTC_TEMPERATURE_FAILURE 2 +#define ALERT_RTC_CLOCK_FAILURE 3 namespace alerts {