Skip to content

Commit

Permalink
fix break light
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharkboy committed Sep 23, 2024
1 parent 274addb commit b169b5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion g30_dash_ADC_6.05v.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@

;breaklight logic
(loopwhile-thd 100 t {
(if (and (> off 0) (= break-light-enabled 1) (> brake min-adc-brake) (> (get-speed) 1))
(if (and (= off 0) (= break-light-enabled 1) (> brake min-adc-brake) (> (get-speed) 1))
{
(disable_brake)
(sleep (/ 1.0 10))
Expand Down

0 comments on commit b169b5c

Please sign in to comment.