From d89360de825d4139f031443805e72995419466c6 Mon Sep 17 00:00:00 2001 From: Jackson Chen Date: Thu, 15 Jan 2015 12:41:53 -0800 Subject: [PATCH] Fix pill pairing unable to proceed --- morpheus/message_ble.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/morpheus/message_ble.c b/morpheus/message_ble.c index 2e783195..01fd8969 100644 --- a/morpheus/message_ble.c +++ b/morpheus/message_ble.c @@ -542,7 +542,7 @@ MSG_Status message_ble_pill_pairing_begin(MSG_Data_t* account_id_page) // Send notification to ANT? Actually at this time ANT can just send back device id without being notified. #ifdef HAS_CC3200 PRINTS("Waiting the pill to reply...\r\n"); - if(!self.timer_id) + if( self.timer_id ) { // One minute timeout if(NRF_SUCCESS == app_timer_start(self.timer_id, APP_PILL_PAIRING_TIMEOUT_INTERVAL, NULL))