Fork of ublox-cellular-base to add LARA-R2 support

Fork of ublox-cellular-base by u-blox

Revision:
12:aa3cbc3f88c5
Parent:
11:57f64bc518c0
Child:
13:158a035b1b50
diff -r 57f64bc518c0 -r aa3cbc3f88c5 UbloxCellularBase.cpp
--- a/UbloxCellularBase.cpp	Tue Jan 02 12:38:56 2018 +0500
+++ b/UbloxCellularBase.cpp	Tue Jan 09 12:34:53 2018 +0500
@@ -213,7 +213,7 @@
      *
      * @return true if successful, otherwise false.
      */
-bool UbloxCellularBase::get_imei(char *imei_to_send,int size)
+bool UbloxCellularBase::get_imei(char *imei_to_send, int size)
 {
     bool success;
     LOCK();
@@ -225,8 +225,7 @@
     success = _at->send("AT+CGSN") && _at->recv("%15[^\n]\nOK\n", _dev_info.imei);
     tr_info("DevInfo: IMEI=%s", _dev_info.imei);
 	
-	if(success)
-	{
+	if (success)	{
 		memcpy(imei_to_send,_dev_info.imei,size);
 		imei_to_send[size-1] = '\0';
 	}