Skip to content

Commit c59e07c

Browse files
authored
Merge pull request #13 from bitcraze/evoggy/cpx-rename-host-target
Renamed CPX_T_HOST to CPX_T_WIFI_HOST
2 parents 3e90ddc + 2235d78 commit c59e07c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

main/cpx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
typedef enum {
3232
CPX_T_STM32 = 1, // The STM in the Crazyflie
3333
CPX_T_ESP32 = 2, // The ESP on the AI-deck
34-
CPX_T_HOST = 3, // A remote computer connected via Wifi
34+
CPX_T_WIFI_HOST = 3, // A remote computer connected via Wifi
3535
CPX_T_GAP8 = 4 // The GAP8 on the AI-deck
3636
} CPXTarget_t;
3737

main/router.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ static void route(Receiver_t receive, CPXRoutablePacket_t* rxp, RouteContext_t*
111111
ESP_LOGD("ROUTER", "%s [0x%02X] -> ESP32 [0x%02X] (%u)", routerName, source, destination, cpxDataLength);
112112
splitAndSend(rxp, context, espTransportSend, ESP_TRANSPORT_MTU - CPX_ROUTING_PACKED_SIZE);
113113
break;
114-
case CPX_T_HOST:
114+
case CPX_T_WIFI_HOST:
115115
ESP_LOGD("ROUTER", "%s [0x%02X] -> HOST [0x%02X] (%u)", routerName, source, destination, cpxDataLength);
116116
splitAndSend(rxp, context, wifi_transport_send, WIFI_TRANSPORT_MTU - CPX_ROUTING_PACKED_SIZE);
117117
break;

0 commit comments

Comments
 (0)