mirror of
https://github.com/vshymanskyy/TinyGSM.git
synced 2026-05-15 04:06:10 +00:00
Empty init impl
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user