aboutsummaryrefslogtreecommitdiff
path: root/client/serial.c
diff options
context:
space:
mode:
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);