diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-06-29 10:35:23 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-06-29 10:35:23 +0200 |
commit | ef8b97942d8d5cec956b75b6254e18034914e80d (patch) | |
tree | 67f061004e3d895cd2e20184c935007d967d4cfc /client/ui_dirc.c | |
parent | 4d446fb2c1d14142304971095ee60668ba9c6bc5 (diff) |
fix buffer overrun in logs
Diffstat (limited to 'client/ui_dirc.c')
-rw-r--r-- | client/ui_dirc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client/ui_dirc.c b/client/ui_dirc.c index 4e864d5..58e3576 100644 --- a/client/ui_dirc.c +++ b/client/ui_dirc.c @@ -48,7 +48,9 @@ int w2_avg(int *samples, unsigned int sample_count) { W2_DIRC_MOTOR_DRIVER(l); W2_DIRC_MOTOR_DRIVER(r); -void w2_ui_dirc_init() { w2_send_mode(W2_M_DIRC); } +void w2_ui_dirc_init() { + return; +} void w2_ui_bar_graph(unsigned int y, unsigned int x, unsigned int width, double value) { char temp[width]; |