aboutsummaryrefslogtreecommitdiff
path: root/client/serial.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-05-29 17:01:19 +0200
committerlonkaars <loek@pipeframe.xyz>2022-05-29 17:01:19 +0200
commit1c7c0bd747c839fb1e449e98cec942894821addf (patch)
tree01ac940d42dcfc767afa191efd7ecbd0ab73dcc5 /client/serial.c
parent59802547c336d61aa7e950414a3f44180e211974 (diff)
`make format`
Diffstat (limited to 'client/serial.c')
-rw-r--r--client/serial.c29
1 files changed, 8 insertions, 21 deletions
diff --git a/client/serial.c b/client/serial.c
index ec523cc..0d0bca7 100644
--- a/client/serial.c
+++ b/client/serial.c
@@ -1,8 +1,8 @@
#include "serial.h"
-#include "time.h"
-#include "main.h"
#include "../shared/protocol.h"
#include "../shared/serial_parse.h"
+#include "main.h"
+#include "time.h"
void w2_serial_main() {
int temp;
@@ -14,24 +14,12 @@ void w2_cmd_ping_tx(w2_s_bin *data) {
g_w2_state.ping = w2_timer_end(W2_TIMER_PING);
printf("ping measured, %ims\n", g_w2_state.ping);
}
-void w2_cmd_expt_tx(w2_s_bin *data) {
- printf("w2_cmd_expt_tx()\n");
-}
-void w2_cmd_mode_tx(w2_s_bin *data) {
- printf("w2_cmd_mode_tx()\n");
-}
-void w2_cmd_cord_tx(w2_s_bin *data) {
- printf("w2_cmd_cord_tx()\n");
-}
-void w2_cmd_bomd_tx(w2_s_bin *data) {
- printf("w2_cmd_bomd_tx()\n");
-}
-void w2_cmd_sens_tx(w2_s_bin *data) {
- printf("w2_cmd_sens_tx()\n");
-}
-void w2_cmd_info_tx(w2_s_bin *data) {
- printf("w2_cmd_info_tx()\n");
-}
+void w2_cmd_expt_tx(w2_s_bin *data) { printf("w2_cmd_expt_tx()\n"); }
+void w2_cmd_mode_tx(w2_s_bin *data) { printf("w2_cmd_mode_tx()\n"); }
+void w2_cmd_cord_tx(w2_s_bin *data) { printf("w2_cmd_cord_tx()\n"); }
+void w2_cmd_bomd_tx(w2_s_bin *data) { printf("w2_cmd_bomd_tx()\n"); }
+void w2_cmd_sens_tx(w2_s_bin *data) { printf("w2_cmd_sens_tx()\n"); }
+void w2_cmd_info_tx(w2_s_bin *data) { printf("w2_cmd_info_tx()\n"); }
void w2_cmd_ping_rx(w2_s_bin *data) { return; }
void w2_cmd_mode_rx(w2_s_bin *data) { return; }
@@ -46,4 +34,3 @@ void w2_cmd_info_rx(w2_s_bin *data) { return; }
void w2_cmd_disp_rx(w2_s_bin *data) { return; }
void w2_cmd_play_rx(w2_s_bin *data) { return; }
void w2_cmd_cled_rx(w2_s_bin *data) { return; }
-