Aktualizace na nejnovejsi zmeny v ESPF

This commit is contained in:
Pavel Brychta 2023-10-09 08:38:25 +02:00
parent 71d5b061c6
commit 88828fcd5d
2 changed files with 5 additions and 5 deletions

View File

@ -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;

View File

@ -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