Fix preserve pairing on power cycle
This commit is contained in:
@@ -16,9 +16,12 @@ static void usb_main(void);
|
||||
|
||||
// main loop
|
||||
int main(void) {
|
||||
|
||||
// for PIO USB, we want clock speed to be multiple of 12MHz
|
||||
set_sys_clock_khz(144000, true);
|
||||
|
||||
// need so BTstack can save pairing information to flash
|
||||
flash_safe_execute_core_init();
|
||||
|
||||
sleep_ms(10);
|
||||
|
||||
// run BLE on core 1
|
||||
|
||||
Reference in New Issue
Block a user