diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-05-25 19:03:24 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-05-25 19:03:24 +0200 |
commit | 734e5ea7d05c0cebf219cff78c6b0794f4cbe9ae (patch) | |
tree | 9ca6b17a7e6b6a65c0162a3a02c6d6a4cf0d02dd /robot | |
parent | 87900d6787f8e0af8d37cc313c4e0510ef0b1bf8 (diff) |
`make format`
Diffstat (limited to 'robot')
-rw-r--r-- | robot/sercomm.c | 67 | ||||
-rw-r--r-- | robot/sercomm.h | 1 |
2 files changed, 20 insertions, 48 deletions
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); - |