aboutsummaryrefslogtreecommitdiff
path: root/client/serial.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-05-29 22:35:04 +0200
committerlonkaars <loek@pipeframe.xyz>2022-05-29 22:35:04 +0200
commit555e5d2c0ce77dd1e031690c98ec9a1366182347 (patch)
tree69a505a23ae6ca5d0951e8f832f9895fcbb88b83 /client/serial.c
parent87d8b0ceb349e101b693cf43336a98647f4b92dc (diff)
`make format`
Diffstat (limited to 'client/serial.c')
-rw-r--r--client/serial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/serial.c b/client/serial.c
index 9efb966..78f5631 100644
--- a/client/serial.c
+++ b/client/serial.c
@@ -1,9 +1,9 @@
#include <memory.h>
-#include "serial.h"
#include "../shared/protocol.h"
#include "../shared/serial_parse.h"
#include "main.h"
+#include "serial.h"
#include "time.h"
void w2_serial_main() {
@@ -16,7 +16,7 @@ void w2_cmd_ping_tx(w2_s_bin *data) {
if (g_w2_state.ping_received) return;
if (g_w2_state.ping_id != cast->id) return;
- g_w2_state.ping = w2_timer_end(W2_TIMER_PING);
+ g_w2_state.ping = w2_timer_end(W2_TIMER_PING);
g_w2_state.ping_received = true;
printf("ping measured, %ims\n", g_w2_state.ping);