Aktualizace na nejnovejsi zmeny v ESPF
This commit is contained in:
parent
71d5b061c6
commit
88828fcd5d
@ -37,7 +37,7 @@ void ThreadedGSM::setInterval(IntervalSourceE source, unsigned long interval)
|
||||
}
|
||||
|
||||
// Initialization
|
||||
void ThreadedGSM::begin()
|
||||
void ThreadedGSM::setup()
|
||||
{
|
||||
|
||||
mRequests = (REQ_STARTUP);
|
||||
@ -45,7 +45,7 @@ void ThreadedGSM::begin()
|
||||
}
|
||||
|
||||
// Call this function for executing thread
|
||||
void ThreadedGSM::exec()
|
||||
void ThreadedGSM::loop()
|
||||
{
|
||||
if (mDte.getIsBusy())
|
||||
return;
|
||||
|
@ -31,7 +31,7 @@
|
||||
|
||||
#define THREADEDGSM_INTERVAL_COUNT 3
|
||||
|
||||
class ThreadedGSM : public Executable
|
||||
class ThreadedGSM : public Loop
|
||||
{
|
||||
// variables
|
||||
public:
|
||||
@ -193,7 +193,7 @@ class ThreadedGSM : public Executable
|
||||
void setInterval(IntervalSourceE source, unsigned long interval);
|
||||
|
||||
// Initialization
|
||||
void begin();
|
||||
void setup();
|
||||
|
||||
// Requests
|
||||
void sendSMS(String & Number, String & Text);
|
||||
@ -230,6 +230,6 @@ class ThreadedGSM : public Executable
|
||||
void CheckRing();
|
||||
|
||||
// executing threads
|
||||
void exec() override;
|
||||
void loop() override;
|
||||
|
||||
}; // ThreadedGSM
|
||||
|
Loading…
Reference in New Issue
Block a user