Commit 5a46b311 authored by Pieter Noordhuis's avatar Pieter Noordhuis
Browse files

Fill log with non-zero to be able to test for 0

parent acf174fb
...@@ -35,7 +35,7 @@ static log_entry_t cb_log[CB_LOG_SIZE]; ...@@ -35,7 +35,7 @@ static log_entry_t cb_log[CB_LOG_SIZE];
static int cb_log_idx = 0; static int cb_log_idx = 0;
#define reset_cb_log() do { \ #define reset_cb_log() do { \
memset(cb_log, 0, sizeof(cb_log)); \ memset(cb_log, 0xff, sizeof(cb_log)); \
cb_log_idx = 0; \ cb_log_idx = 0; \
} while(0) } while(0)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment