From ffe2d0a48be43cf4d06c824813d87d35faa34053 Mon Sep 17 00:00:00 2001 From: Pavel Zakopaylo Date: Sun, 3 Dec 2023 20:42:55 +1100 Subject: [PATCH] Reverted change to default baud rate This was a leftover from previous testing. It did work at 2Mbaud, but I was only testing on Linux and do not want to introduce a regression for other (i.e. MacOS) users. --- lib/blisp.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/blisp.c b/lib/blisp.c index 13e14f7..b6c1c9b 100644 --- a/lib/blisp.c +++ b/lib/blisp.c @@ -88,11 +88,7 @@ blisp_return_t blisp_device_open(struct blisp_device* device, // if (device->is_usb) { // device->current_baud_rate = 2000000; // } else { - if (device->chip->type == BLISP_CHIP_BL808) { - device->current_baud_rate = 2000000; - } else { - device->current_baud_rate = 460800; - } + device->current_baud_rate = 460800; // } #if 0