summaryrefslogtreecommitdiff
path: root/util/switch.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2025-07-28 23:42:33 +0200
committerUros Majstorovic <majstor@majstor.org>2025-07-28 23:42:33 +0200
commitae61013a946b522886e16e71138a0f46c13e4ef8 (patch)
treec592a80551efe365534e014a90be61b17ff60c2d /util/switch.c
parent6a603cd2e1a0d9dc1772af83956bb37c445a5472 (diff)
fixed ftdi driver for new board
Diffstat (limited to 'util/switch.c')
-rw-r--r--util/switch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/switch.c b/util/switch.c
index 2fc0eb6..9f60fd3 100644
--- a/util/switch.c
+++ b/util/switch.c
@@ -47,7 +47,7 @@ int main(int argc, char *argv[]) {
case DEV_ESP32: {
printf("Switch to esp32\n");
- ret = ftdi_set_bitmode(ftdi, 0x00, BITMODE_CBUS);
+ ret = ftdi_set_bitmode(ftdi, 0x22, BITMODE_CBUS);
break;
}
}