Library to easily communicate with XBee modules.

Fork of XBeeLib by Digi International Inc.

Revision:
4:629712865107
Parent:
3:8662ebe83570
--- a/FrameHandlers/FH_ModemStatus.cpp	Mon May 18 13:16:55 2015 +0200
+++ b/FrameHandlers/FH_ModemStatus.cpp	Mon Jun 01 18:59:43 2015 +0200
@@ -22,24 +22,23 @@
 {
 }
 
-/**  */
 void FH_ModemStatus::register_modem_status_cb(modem_status_cb_t function)
 {
-    modem_status_cb = function;    
+    modem_status_cb = function;
 }
 
-/**  */
 void FH_ModemStatus::unregister_modem_status_cb(void)
 {
-    modem_status_cb = NULL;    
+    modem_status_cb = NULL;
 }
 
 void FH_ModemStatus::process_frame_data(const ApiFrame *const frame)
 {
-    /* The caller checks that the type matches, so no need to check it here again */        
-    
-    if (modem_status_cb == NULL)
+    /* The caller checks that the type matches, so no need to check it here again */
+
+    if (modem_status_cb == NULL) {
         return;
+    }
 
     modem_status_cb((AtCmdFrame::ModemStatus)frame->get_data_at(0));
 }