From 734e5ea7d05c0cebf219cff78c6b0794f4cbe9ae Mon Sep 17 00:00:00 2001 From: lonkaars Date: Wed, 25 May 2022 19:03:24 +0200 Subject: `make format` --- robot/sercomm.c | 67 +++++++++++++++++---------------------------------------- robot/sercomm.h | 1 - 2 files changed, 20 insertions(+), 48 deletions(-) (limited to 'robot') diff --git a/robot/sercomm.c b/robot/sercomm.c index a1aa31c..da632b5 100644 --- a/robot/sercomm.c +++ b/robot/sercomm.c @@ -47,63 +47,36 @@ void w2_sercomm_append_msg(w2_s_bin *data) { g_w2_sercomm_index = next_index; } -void w2_scmd_ping_rx(w2_s_bin *data) { - return; -} +void w2_scmd_ping_rx(w2_s_bin *data) { return; } -void w2_scmd_mode_rx(w2_s_bin *data) { - return; -} +void w2_scmd_mode_rx(w2_s_bin *data) { return; } -void w2_scmd_sped_rx(w2_s_bin *data) { - return; -} +void w2_scmd_sped_rx(w2_s_bin *data) { return; } -void w2_scmd_dirc_rx(w2_s_bin *data) { - return; -} +void w2_scmd_dirc_rx(w2_s_bin *data) { return; } -void w2_scmd_cord_rx(w2_s_bin *data) { - return; -} - -void w2_scmd_bomd_rx(w2_s_bin *data) { - return; -} +void w2_scmd_cord_rx(w2_s_bin *data) { return; } -void w2_scmd_sres_rx(w2_s_bin *data) { - return; -} +void w2_scmd_bomd_rx(w2_s_bin *data) { return; } -void w2_scmd_mcfg_rx(w2_s_bin *data) { - return; -} +void w2_scmd_sres_rx(w2_s_bin *data) { return; } -void w2_scmd_sens_rx(w2_s_bin *data) { - return; -} +void w2_scmd_mcfg_rx(w2_s_bin *data) { return; } -void w2_scmd_info_rx(w2_s_bin *data) { - return; -} +void w2_scmd_sens_rx(w2_s_bin *data) { return; } -void w2_scmd_disp_rx(w2_s_bin *data) { - return; -} +void w2_scmd_info_rx(w2_s_bin *data) { return; } -void w2_scmd_play_rx(w2_s_bin *data) { - return; -} +void w2_scmd_disp_rx(w2_s_bin *data) { return; } -void w2_scmd_cled_rx(w2_s_bin *data) { - return; -} +void w2_scmd_play_rx(w2_s_bin *data) { return; } -void w2_scmd_ping_tx(w2_s_bin *data) { } -void w2_scmd_expt_tx(w2_s_bin *data) { } -void w2_scmd_mode_tx(w2_s_bin *data) { } -void w2_scmd_cord_tx(w2_s_bin *data) { } -void w2_scmd_bomd_tx(w2_s_bin *data) { } -void w2_scmd_sens_tx(w2_s_bin *data) { } -void w2_scmd_info_tx(w2_s_bin *data) { } +void w2_scmd_cled_rx(w2_s_bin *data) { return; } +void w2_scmd_ping_tx(w2_s_bin *data) {} +void w2_scmd_expt_tx(w2_s_bin *data) {} +void w2_scmd_mode_tx(w2_s_bin *data) {} +void w2_scmd_cord_tx(w2_s_bin *data) {} +void w2_scmd_bomd_tx(w2_s_bin *data) {} +void w2_scmd_sens_tx(w2_s_bin *data) {} +void w2_scmd_info_tx(w2_s_bin *data) {} diff --git a/robot/sercomm.h b/robot/sercomm.h index d717f01..b1f69c7 100644 --- a/robot/sercomm.h +++ b/robot/sercomm.h @@ -28,4 +28,3 @@ void w2_sercomm_main(); /** append binary message to send buffer */ void w2_sercomm_append_msg(w2_s_bin *data); - -- cgit v1.2.3