diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-06-26 17:40:36 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-06-26 17:40:36 +0200 |
commit | 2a0270f3ba6eb993fb39ed3564f626d724156654 (patch) | |
tree | d8d310eb35768f84d25453eae4b8cd4721bd8ddf /robot/errcatch.c | |
parent | 55fe6aaeee49894dc07516f0c4e21f692b2950fe (diff) |
implement battery measurement and target area switching
Diffstat (limited to 'robot/errcatch.c')
-rw-r--r-- | robot/errcatch.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/robot/errcatch.c b/robot/errcatch.c index 6a3452c..27026b5 100644 --- a/robot/errcatch.c +++ b/robot/errcatch.c @@ -46,6 +46,8 @@ void w2_errcatch_handle_error(w2_s_error *error) { break; case W2_E_WARN_PING_TIMEOUT: break; + case W2_E_WARN_BATTERY_LOW: + break; default: { g_w2_error_uncaught = true; #ifdef W2_SIM |