diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-06-29 10:35:58 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-06-29 10:35:58 +0200 |
commit | 054cf1c2a433c87b7caee503c28db2b7005d1060 (patch) | |
tree | 7b60a739019a87228d4fb7fb320af88bed127f7f /robot/errcatch.c | |
parent | ef8b97942d8d5cec956b75b6254e18034914e80d (diff) |
fix order receiving
Diffstat (limited to 'robot/errcatch.c')
-rw-r--r-- | robot/errcatch.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/robot/errcatch.c b/robot/errcatch.c index 27026b5..3e62270 100644 --- a/robot/errcatch.c +++ b/robot/errcatch.c @@ -20,6 +20,7 @@ void w2_errcatch_display_error(uint8_t code) { void w2_errcatch_error_beep(uint8_t code) { if (code == W2_E_WARN_UNCAUGHT_ERROR) return; + if (code == W2_E_WARN_CYCLE_EXPIRED) return; uint8_t severity = code & W2_E_TYPE_MASK; if ((severity ^ W2_E_TYPE_CRIT) == 0) { play("L70 O6 fRfRfRfRf"); @@ -48,6 +49,8 @@ void w2_errcatch_handle_error(w2_s_error *error) { break; case W2_E_WARN_BATTERY_LOW: break; + case W2_E_WARN_CYCLE_EXPIRED: + break; default: { g_w2_error_uncaught = true; #ifdef W2_SIM |