diff options
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); - |