From 53257381ab2612b55f606b969d6e9daba8369bc7 Mon Sep 17 00:00:00 2001 From: Thomas Cherryhomes Date: Fri, 12 Dec 2025 20:11:37 -0600 Subject: [PATCH] [coco] network_http_set_channel_mode - use aux2 instead of aux1. --- coco/src/fn_network/network_http_set_channel_mode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coco/src/fn_network/network_http_set_channel_mode.c b/coco/src/fn_network/network_http_set_channel_mode.c index ef90ce4..c3e4f13 100644 --- a/coco/src/fn_network/network_http_set_channel_mode.c +++ b/coco/src/fn_network/network_http_set_channel_mode.c @@ -12,8 +12,8 @@ uint8_t network_http_set_channel_mode(const char *devicespec, uint8_t mode) uint8_t opcode; uint8_t unit; uint8_t cmd; - uint8_t mode; uint8_t unused; + uint8_t mode; // Aux2 sets mode. } hscm; hscm.opcode = OP_NET; @@ -24,6 +24,6 @@ uint8_t network_http_set_channel_mode(const char *devicespec, uint8_t mode) bus_ready(); dwwrite((uint8_t *)&hscm, sizeof(hscm)); - + return network_get_error(hscm.unit); }