ir-puck
Dependencies: Puck IRSender mbed
Fork of ir-puck by
Diff: main.cpp
- Revision:
- 8:260888851644
- Parent:
- 5:3642c0af497e
- Child:
- 10:35d78d589580
diff -r afb7a62cbff7 -r 260888851644 main.cpp --- a/main.cpp Wed Jul 23 14:11:43 2014 +0000 +++ b/main.cpp Wed Jul 23 14:20:06 2014 +0000 @@ -16,6 +16,7 @@ void onIRCodeWrite(uint8_t* value) { + puck->getBle().disconnect(); LOG_INFO("Going to fire IR code...\n"); fireIRCode(puck->getCharacteristicValue(HEADER_UUID), puck->getCharacteristicValue(ONE_UUID),