mirror of
				https://github.com/KevinMidboe/TinyGSM.git
				synced 2025-10-29 18:00:18 +00:00 
			
		
		
		
	Missing brace
This commit is contained in:
		| @@ -500,7 +500,7 @@ TINY_GSM_MODEM_WAIT_FOR_NETWORK() | ||||
|     return res; | ||||
|   } | ||||
|  | ||||
|   uint8_t getBattChargeState() | ||||
|   uint8_t getBattChargeState() { | ||||
|     sendAT(GF("+CBC?")); | ||||
|     if (waitResponse(GF(GSM_NL "+CBC:")) != 1) { | ||||
|       return false; | ||||
|   | ||||
| @@ -467,7 +467,7 @@ TINY_GSM_MODEM_GET_GPRS_IP_CONNECTED() | ||||
|     return res; | ||||
|   } | ||||
|  | ||||
|   uint8_t getBattChargeState() | ||||
|   uint8_t getBattChargeState() { | ||||
|     sendAT(GF("+CBC?")); | ||||
|     if (waitResponse(GF(GSM_NL "+CBC:")) != 1) { | ||||
|       return false; | ||||
|   | ||||
| @@ -515,7 +515,7 @@ TINY_GSM_MODEM_GET_GPRS_IP_CONNECTED() | ||||
|     return res; | ||||
|   } | ||||
|  | ||||
|   uint8_t getBattChargeState() | ||||
|   uint8_t getBattChargeState() { | ||||
|     sendAT(GF("+CBC?")); | ||||
|     if (waitResponse(GF(GSM_NL "+CBC:")) != 1) { | ||||
|       return false; | ||||
|   | ||||
| @@ -534,7 +534,7 @@ TINY_GSM_MODEM_GET_GPRS_IP_CONNECTED() | ||||
|     return res; | ||||
|   } | ||||
|  | ||||
|   uint8_t getBattChargeState() | ||||
|   uint8_t getBattChargeState() { | ||||
|     sendAT(GF("+CBC?")); | ||||
|     if (waitResponse(GF(GSM_NL "+CBC:")) != 1) { | ||||
|       return false; | ||||
|   | ||||
| @@ -755,7 +755,7 @@ TINY_GSM_MODEM_WAIT_FOR_NETWORK() | ||||
|     return res; | ||||
|   } | ||||
|  | ||||
|   uint8_t getBattChargeState() | ||||
|   uint8_t getBattChargeState() { | ||||
|     sendAT(GF("+CBC?")); | ||||
|     if (waitResponse(GF(GSM_NL "+CBC:")) != 1) { | ||||
|       return false; | ||||
|   | ||||
| @@ -678,7 +678,7 @@ TINY_GSM_MODEM_WAIT_FOR_NETWORK() | ||||
|     return res; | ||||
|   } | ||||
|  | ||||
|   uint8_t getBattChargeState() | ||||
|   uint8_t getBattChargeState() { | ||||
|     sendAT(GF("+CBC?")); | ||||
|     if (waitResponse(GF(GSM_NL "+CBC:")) != 1) { | ||||
|       return false; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user