Fix configure mode of RN-42

daktil_manuform
tmk 2014-07-07 11:03:01 +09:00
parent 1619d68cb2
commit 01fa462e2c
1 changed files with 1 additions and 1 deletions

View File

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