Empty init impl

Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
This commit is contained in:
Sara Damiano
2024-05-24 14:02:55 -04:00
parent 6ea2d44594
commit b0f7b3644a
2 changed files with 5 additions and 1 deletions

View File

@@ -80,6 +80,9 @@ static void DBG(Args... args) {
#define DBG(...)
#endif
/*
* Min/Max Helpers
*/
template <class T>
const T& TinyGsmMin(const T& a, const T& b) {
return (b < a) ? b : a;

View File

@@ -330,6 +330,8 @@ class TinyGsmModem {
* Basic functions
*/
protected:
bool initImpl() TINY_GSM_ATTR_NOT_IMPLEMENTED;
bool setBaudImpl(uint32_t baud) {
thisModem().sendAT(GF("+IPR="), baud);
return thisModem().waitResponse() == 1;
@@ -344,7 +346,6 @@ class TinyGsmModem {
return false;
}
// TODO(vshymanskyy): Optimize this!
int8_t waitResponseImpl(uint32_t timeout_ms, String& data,
GsmConstStr r1 = GFP(GSM_OK),