Compare commits

..

2 Commits

Author SHA1 Message Date
Pavel Zakopaylo
0374712469
Merge ffe2d0a48be43cf4d06c824813d87d35faa34053 into 7a85414eced71d3208d0cbffa1a9e7a6a0b5fcc1 2023-12-03 09:45:03 +00:00
Pavel Zakopaylo
ffe2d0a48b
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.
2023-12-03 20:42:55 +11:00

View File

@ -88,11 +88,7 @@ blisp_return_t blisp_device_open(struct blisp_device* device,
// if (device->is_usb) { // if (device->is_usb) {
// device->current_baud_rate = 2000000; // device->current_baud_rate = 2000000;
// } else { // } else {
if (device->chip->type == BLISP_CHIP_BL808) { device->current_baud_rate = 460800;
device->current_baud_rate = 2000000;
} else {
device->current_baud_rate = 460800;
}
// } // }
#if 0 #if 0