1
0

Fix configure mode of RN-42

This commit is contained in:
tmk 2014-07-07 11:03:01 +09:00
parent 1619d68cb2
commit 01fa462e2c

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);