Skip to content

Commit c46135b

Browse files
Fix violation
1 parent 5200b33 commit c46135b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

srcs/calibration.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ void Calibration_Init() {
8080
restartWaitTimer = 0;
8181

8282
while (startButtonPressed == false) {
83-
restartWaitTimer += RESTART_READ_KEYBOARD_DELAY;
83+
restartWaitTimer += (uint32_t)RESTART_READ_KEYBOARD_DELAY;
8484

8585
// Heartbeat fatal error periodically
8686
if ((restartWaitTimer % 1000u) == 0u) {
@@ -132,7 +132,7 @@ void Calibration_Init() {
132132
restartWaitTimer = 0;
133133

134134
while (startButtonPressed == false) {
135-
restartWaitTimer += RESTART_READ_KEYBOARD_DELAY;
135+
restartWaitTimer += (uint32_t)RESTART_READ_KEYBOARD_DELAY;
136136

137137
// Heartbeat fatal error periodically
138138
if ((restartWaitTimer % 1000u) == 0u) {

0 commit comments

Comments
 (0)