From 8c75dee9e0ef2cf81a1058bdc35b70b4dfea7315 Mon Sep 17 00:00:00 2001 From: jakeg00dwin Date: Tue, 3 Sep 2024 16:40:54 -0700 Subject: [PATCH] Changed to using the volatile keyword for the port pointers. --- src/Relays/Relays.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Relays/Relays.h b/src/Relays/Relays.h index b0712f7..1af8d38 100644 --- a/src/Relays/Relays.h +++ b/src/Relays/Relays.h @@ -17,9 +17,9 @@ * Represents an individual relay. */ typedef struct Relay { - void *output_port; + volatile void *output_port; uint8_t output_pin; - void *input_port; + volatile void *input_port; uint8_t input_pin; uint16_t make_time; uint16_t break_time;