summaryrefslogtreecommitdiff
path: root/robot/errcatch.h
diff options
context:
space:
mode:
Diffstat (limited to 'robot/errcatch.h')
-rw-r--r--robot/errcatch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/robot/errcatch.h b/robot/errcatch.h
index 2297886..fa7a15b 100644
--- a/robot/errcatch.h
+++ b/robot/errcatch.h
@@ -17,7 +17,7 @@ typedef struct {
} w2_s_error;
/** error ring buffer */
-extern w2_s_error g_w2_error_buffer[W2_ERROR_BUFFER_SIZE];
+extern w2_s_error *g_w2_error_buffer[W2_ERROR_BUFFER_SIZE];
/** stores head of ring buffer */
extern uint8_t g_w2_error_index;
/** stores start of ring buffer */