From cdb31c1ac9a35a7376c314c721450d0c0010cbce Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sat, 10 Sep 2022 08:49:07 -0400 Subject: [PATCH] delay_time volatile --- cubesatsim/cubesatsim.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cubesatsim/cubesatsim.h b/cubesatsim/cubesatsim.h index 87c2c4c9..8462eca7 100644 --- a/cubesatsim/cubesatsim.h +++ b/cubesatsim/cubesatsim.h @@ -339,7 +339,7 @@ int pwm_amplitude = 50; //50 //100; int pwm_value; int tx_bit = 1; */ -unsigned long delay_time; +volatile unsigned long delay_time; bool polarity = true; pwm_config config; int bpsk_pin_slice_A;