Fixed homing fail alarm handling. Re-integrated software debouncing.
- [bug] Fixed a homing fail issue, where the alarm was not being set right, not cleared correctly. It would report the wrong code and enter an infinite alarm loop. This was due to how alarm codes were altered a while back. Now updated and fixed to show the right codes. - [feature] Re-installed optional software debouncing for hard limit switches. By request.
This commit is contained in:
parent
d5ed3bdb81
commit
864d1306b9
11 changed files with 66 additions and 28 deletions
|
|
@ -234,7 +234,7 @@ void protocol_exec_rt_system()
|
|||
// lost, continued streaming could cause a serious crash if by chance it gets executed.
|
||||
} while (bit_isfalse(sys_rt_exec_state,EXEC_RESET));
|
||||
}
|
||||
system_clear_exec_alarm_flag(0xFF); // Clear all alarm flags
|
||||
system_clear_exec_alarm(); // Clear alarm
|
||||
}
|
||||
|
||||
rt_exec = sys_rt_exec_state; // Copy volatile sys_rt_exec_state.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue