File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919*/
2020static const uint32_t MAJOR = 2 ;
2121static const uint32_t MINOR = 14 ;
22- static const uint32_t PATCH = 0 ;
22+ static const uint32_t PATCH = 2 ;
2323
2424/*
2525 Flash size definition
Original file line number Diff line number Diff line change @@ -192,8 +192,6 @@ void handle_sleep() {
192192 Safe means that it is safe to use anywhere.
193193*/
194194void inline reset_counter_Int () {
195- // the RPi is alive
196- tried_reset = false ;
197195 seconds = 0 ;
198196}
199197
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ void handle_state() {
5050 if (!(should_shutdown & Shutdown_Cause::rpi_initiated)) {
5151 if (should_shutdown > Shutdown_Cause::rpi_initiated && (seconds_safe < timeout)) {
5252 // RPi should take action, possibly shut down. Signal by blinking 5 times
53- blink_led (5 , BLINK_TIME );
53+ blink_led (3 , BLINK_TIME );
5454 }
5555 }
5656 }
@@ -221,4 +221,5 @@ void i2c_triggered_state_change() {
221221 if (state == State::unclear_state) {
222222 state = State::running_state;
223223 }
224+ tried_reset = false ;
224225}
You can’t perform that action at this time.
0 commit comments