aboutsummaryrefslogtreecommitdiff
path: root/client/ui_dirc.c
diff options
context:
space:
mode:
Diffstat (limited to 'client/ui_dirc.c')
-rw-r--r--client/ui_dirc.c6
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();