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
|
// Initialization
|
||||||
void ThreadedGSM::begin()
|
void ThreadedGSM::setup()
|
||||||
{
|
{
|
||||||
|
|
||||||
mRequests = (REQ_STARTUP);
|
mRequests = (REQ_STARTUP);
|
||||||
@ -45,7 +45,7 @@ void ThreadedGSM::begin()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Call this function for executing thread
|
// Call this function for executing thread
|
||||||
void ThreadedGSM::exec()
|
void ThreadedGSM::loop()
|
||||||
{
|
{
|
||||||
if (mDte.getIsBusy())
|
if (mDte.getIsBusy())
|
||||||
return;
|
return;
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
#define THREADEDGSM_INTERVAL_COUNT 3
|
#define THREADEDGSM_INTERVAL_COUNT 3
|
||||||
|
|
||||||
class ThreadedGSM : public Executable
|
class ThreadedGSM : public Loop
|
||||||
{
|
{
|
||||||
// variables
|
// variables
|
||||||
public:
|
public:
|
||||||
@ -193,7 +193,7 @@ class ThreadedGSM : public Executable
|
|||||||
void setInterval(IntervalSourceE source, unsigned long interval);
|
void setInterval(IntervalSourceE source, unsigned long interval);
|
||||||
|
|
||||||
// Initialization
|
// Initialization
|
||||||
void begin();
|
void setup();
|
||||||
|
|
||||||
// Requests
|
// Requests
|
||||||
void sendSMS(String & Number, String & Text);
|
void sendSMS(String & Number, String & Text);
|
||||||
@ -230,6 +230,6 @@ class ThreadedGSM : public Executable
|
|||||||
void CheckRing();
|
void CheckRing();
|
||||||
|
|
||||||
// executing threads
|
// executing threads
|
||||||
void exec() override;
|
void loop() override;
|
||||||
|
|
||||||
}; // ThreadedGSM
|
}; // ThreadedGSM
|
||||||
|
Loading…
Reference in New Issue
Block a user