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.
This commit is contained in:
Pavel Zakopaylo 2023-12-03 20:42:55 +11:00
parent aa79ad3601
commit ffe2d0a48b
No known key found for this signature in database
GPG Key ID: 9D4130BD5891F5CB

View File

@ -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