Skip to content

Commit ba34680

Browse files
committed
Make semaphoreProtectedTimer timer volatile!
1 parent 91d719e commit ba34680

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Firmware/RTK_Everywhere/RTK_Everywhere.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ uint32_t rtcmLastPacketSent; // Time stamp of RTCM going out (to NTRIP Server, E
873873
uint32_t maxSurveyInWait_s = 60L * 15L; // Re-start survey-in after X seconds
874874

875875
typedef struct {
876-
uint32_t timer;
876+
volatile unsigned long timer;
877877

878878
SemaphoreHandle_t updateSemaphore = NULL;
879879

0 commit comments

Comments
 (0)