From 7eaff4c6036d2adcad5c5330259953c6dffda476 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sat, 17 Sep 2022 18:39:38 -0400 Subject: [PATCH] volatile timer_counter --- cubesatsim/cubesatsim.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cubesatsim/cubesatsim.h b/cubesatsim/cubesatsim.h index 82d7933f..6c8b4978 100644 --- a/cubesatsim/cubesatsim.h +++ b/cubesatsim/cubesatsim.h @@ -375,7 +375,7 @@ bool timer0_on = false; bool timer2_on = false; int timer0_number = NULL; int timer2_number = NULL; -int timer_counter; +volatile int timer_counter; char callsign[20]; int morse_timing = 60; // ms for a dit