Skip to content

Commit

Permalink
reset the Demag_Detected_Metric_Max to minimum when extended telemetr…
Browse files Browse the repository at this point in the history
…y packet is sent
  • Loading branch information
vmzhivetyev committed Sep 13, 2024
1 parent 639fd3b commit 554d016
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Modules/Scheduler.asm
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ scheduler_steps_odd_status_frame_max_loaded:
clr Flag_Demag_Notify
clr Flag_Desync_Notify
clr Flag_Stall_Notify
mov Demag_Detected_Metric_Max, #0 ; Reset the Max metric so the next value would reflect maximum seen during the time in between STATUS telemetry packets

; Load status frame
mov Ext_Telemetry_L, A ; Set telemetry low value to status data
Expand Down

0 comments on commit 554d016

Please sign in to comment.