aboutsummaryrefslogtreecommitdiff
path: root/robot/errcatch.c
diff options
context:
space:
mode:
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