Fix configure mode of RN-42

pull/1/head
tmk 11 years ago
parent 1619d68cb2
commit 01fa462e2c

@ -121,7 +121,7 @@ int main(void)
} }
/* Bluetooth mode when ready */ /* Bluetooth mode when ready */
if (!force_usb) { if (!config_mode && !force_usb) {
if (rn42_ready() && host_get_driver() != &rn42_driver) { if (rn42_ready() && host_get_driver() != &rn42_driver) {
clear_keyboard(); clear_keyboard();
host_set_driver(&rn42_driver); host_set_driver(&rn42_driver);

Loading…
Cancel
Save