From 734e52a1581e5701d0c613a34f9f7af178ed47a2 Mon Sep 17 00:00:00 2001 From: Zach Whitehead Date: Thu, 3 Oct 2024 22:47:45 -0500 Subject: [PATCH] clean up old ref --- inc/sp140/globals.h | 2 -- src/sp140/globals.cpp | 2 -- 2 files changed, 4 deletions(-) diff --git a/inc/sp140/globals.h b/inc/sp140/globals.h index ce51e9a..4e1bcd4 100644 --- a/inc/sp140/globals.h +++ b/inc/sp140/globals.h @@ -6,10 +6,8 @@ #include "sp140/structs.h" extern unsigned long cruisedAtMillis; -extern volatile bool cruising; extern int prevPotLvl; extern int cruisedPotVal; -extern volatile float throttlePWM; extern float watts; extern float wattHoursUsed; diff --git a/src/sp140/globals.cpp b/src/sp140/globals.cpp index 9764957..fa05c36 100644 --- a/src/sp140/globals.cpp +++ b/src/sp140/globals.cpp @@ -28,10 +28,8 @@ #include "sp140/globals.h" unsigned long cruisedAtMillis = 0; -volatile bool cruising = false; int prevPotLvl = 0; int cruisedPotVal = 0; -volatile float throttlePWM = 0; float watts = 0; float wattHoursUsed = 0;