aboutsummaryrefslogtreecommitdiff
path: root/robot/errcatch.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-06-07 23:47:54 +0200
committerlonkaars <loek@pipeframe.xyz>2022-06-07 23:47:54 +0200
commit519bad1fca5b774564d68c8c2441523c5038c57f (patch)
tree0ba26a5ba5ee5990caf6eab39ecffe72770ba5f3 /robot/errcatch.c
parent0d3c52e49dc34344f335fd6d7b214592723cbc93 (diff)
`make format` + removed debug messages0.5.0
Diffstat (limited to 'robot/errcatch.c')
-rw-r--r--robot/errcatch.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/robot/errcatch.c b/robot/errcatch.c
index 9aeae9e..3830d54 100644
--- a/robot/errcatch.c
+++ b/robot/errcatch.c
@@ -16,9 +16,12 @@ void w2_errcatch_handle_error(w2_s_error *error) {
case W2_E_WARN_UNCAUGHT_ERROR: {
break;
}
- case W2_E_WARN_OBSTACLE_DETECTED: break;
- case W2_E_CRIT_OBSTACLE_STUCK: break;
- case W2_E_WARN_MODE_HISTORY_BUFFER_IOB: break;
+ case W2_E_WARN_OBSTACLE_DETECTED:
+ break;
+ case W2_E_CRIT_OBSTACLE_STUCK:
+ break;
+ case W2_E_WARN_MODE_HISTORY_BUFFER_IOB:
+ break;
default: {
g_w2_error_uncaught = true;
#ifdef W2_SIM