Gave sizes to some ints

This commit is contained in:
Sara Damiano
2019-01-25 14:57:40 -05:00
parent de5e5e359e
commit 8961005ea5
10 changed files with 39 additions and 39 deletions

View File

@@ -399,7 +399,7 @@ public:
* Generic network functions
*/
int getSignalQuality() {
int16_t getSignalQuality() {
sendAT(GF("+CSQ"));
if (waitResponse(GF(GSM_NL "+CSQ:")) != 1) {
return 99;
@@ -620,7 +620,7 @@ public:
return res;
}
int getBattPercent() {
int8_t getBattPercent() {
sendAT(GF("+CBC"));
if (waitResponse(GF(GSM_NL "+CBC:")) != 1) {
return false;
@@ -646,7 +646,7 @@ protected:
return (1 == rsp);
}
int modemSend(const void* buff, size_t len, uint8_t mux) {
int16_t modemSend(const void* buff, size_t len, uint8_t mux) {
sendAT(GF("+QISEND="), mux, ',', len);
if (waitResponse(GF(">")) != 1) {
return 0;