Specify int sizes

This commit is contained in:
Sara Damiano
2020-02-11 11:11:05 -05:00
parent 41531c339b
commit 915660ceaf
2 changed files with 2 additions and 2 deletions

View File

@@ -318,7 +318,7 @@ class TinyGsmA6
}
// 0-9,*,#,A,B,C,D
bool dtmfSendImpl(char cmd, unsigned duration_ms = 100) {
bool dtmfSendImpl(char cmd, uint8_t duration_ms = 100) {
duration_ms = constrain(duration_ms, 100, 1000);
// The duration parameter is not working, so we simulate it using delay..

View File

@@ -19,7 +19,7 @@
#define GSM_NL "\r\n"
static const char GSM_OK[] TINY_GSM_PROGMEM = "OK" GSM_NL;
static const char GSM_ERROR[] TINY_GSM_PROGMEM = "ERROR" GSM_NL;
static unsigned TINY_GSM_TCP_KEEP_ALIVE = 120;
static uint8_t TINY_GSM_TCP_KEEP_ALIVE = 120;
// <stat> status of ESP8266 station interface
// 2 : ESP8266 station connected to an AP and has obtained IP