diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-06-01 10:04:46 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-06-01 10:04:46 +0200 |
commit | e5eeab9dc97c37be905bd616f38e83488dbe2136 (patch) | |
tree | da65e16c652b0c72f5c2189a1fe3914ab693f906 /client/ui_dirc.c | |
parent | 35cdecc0134b82d69b120533b091b8e5b58415e1 (diff) |
`make format`
Diffstat (limited to 'client/ui_dirc.c')
-rw-r--r-- | client/ui_dirc.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/client/ui_dirc.c b/client/ui_dirc.c index 13b2d10..dcd4423 100644 --- a/client/ui_dirc.c +++ b/client/ui_dirc.c @@ -1,5 +1,5 @@ -#include "../shared/util.h" #include "../shared/protocol.h" +#include "../shared/util.h" #include "commands.h" #include "ui.h" @@ -47,9 +47,7 @@ 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() { w2_send_mode(W2_M_DIRC); } void w2_ui_dirc(bool first) { if (first) w2_ui_dirc_init(); |