diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/strings.c | 4 | ||||
-rw-r--r-- | client/ui_dirc.c | 4 | ||||
-rw-r--r-- | client/ui_orders.c | 2 |
3 files changed, 4 insertions, 6 deletions
diff --git a/client/strings.c b/client/strings.c index 29ca725..452baf4 100644 --- a/client/strings.c +++ b/client/strings.c @@ -57,7 +57,7 @@ void w2_strings_errors_internal() { g_w2_error_internal_strings[W2_E_WARN_SERIAL_NOISY] = W2_UI_ERROR_INT_W2_E_WARN_SERIAL_NOISY; g_w2_error_internal_strings[W2_E_WARN_MODE_HISTORY_BUFFER_IOB] = W2_UI_ERROR_INT_W2_E_WARN_MODE_HISTORY_BUFFER_IOB; - g_w2_error_internal_strings[W2_E_WARN_PING_TIMEOUT] = W2_UI_ERROR_INT_W2_E_WARN_PING_TIMEOUT; + g_w2_error_internal_strings[W2_E_WARN_PING_TIMEOUT] = W2_UI_ERROR_INT_W2_E_WARN_PING_TIMEOUT; g_w2_error_internal_strings[W2_E_INFO_ORDER_ARRIVED] = W2_UI_ERROR_INT_W2_E_INFO_ORDER_ARRIVED; } @@ -82,7 +82,7 @@ void w2_strings_errors_user() { g_w2_error_user_strings[W2_E_WARN_SERIAL_NOISY] = W2_UI_ERROR_USR_W2_E_WARN_SERIAL_NOISY; g_w2_error_user_strings[W2_E_WARN_MODE_HISTORY_BUFFER_IOB] = W2_UI_ERROR_USR_W2_E_WARN_MODE_HISTORY_BUFFER_IOB; - g_w2_error_user_strings[W2_E_WARN_PING_TIMEOUT] = W2_UI_ERROR_USR_W2_E_WARN_PING_TIMEOUT; + g_w2_error_user_strings[W2_E_WARN_PING_TIMEOUT] = W2_UI_ERROR_USR_W2_E_WARN_PING_TIMEOUT; g_w2_error_user_strings[W2_E_INFO_ORDER_ARRIVED] = W2_UI_ERROR_USR_W2_E_INFO_ORDER_ARRIVED; } diff --git a/client/ui_dirc.c b/client/ui_dirc.c index 58e3576..48dee84 100644 --- a/client/ui_dirc.c +++ b/client/ui_dirc.c @@ -48,9 +48,7 @@ int w2_avg(int *samples, unsigned int sample_count) { W2_DIRC_MOTOR_DRIVER(l); W2_DIRC_MOTOR_DRIVER(r); -void w2_ui_dirc_init() { - return; -} +void w2_ui_dirc_init() { return; } void w2_ui_bar_graph(unsigned int y, unsigned int x, unsigned int width, double value) { char temp[width]; diff --git a/client/ui_orders.c b/client/ui_orders.c index 6357c03..c01c162 100644 --- a/client/ui_orders.c +++ b/client/ui_orders.c @@ -64,7 +64,7 @@ void w2_ui_orders_cmd_send() { for (int i = 0; i < g_w2_order_buffer_index; i++) { W2_CREATE_MSG_BIN(w2_s_cmd_bomd_rx, msg, bin); - msg->opcode = W2_CMD_BOMD | W2_CMDDIR_RX; + msg->opcode = W2_CMD_BOMD | W2_CMDDIR_RX; msg->id = w2_bin_hton32(rand()); msg->position = w2_bin_hton32(g_w2_order_buffer[i]); |