mirror of
https://github.com/lora-aprs/LoRa_APRS_iGate.git
synced 2026-01-11 19:19:56 +01:00
- task manager working now in round robbin and returning after every task to arduino - adding a system class which is managing all bigger things
21 lines
403 B
C++
21 lines
403 B
C++
#ifndef TASK_FTP_H_
|
|
#define TASK_FTP_H_
|
|
|
|
#include <ESP-FTP-Server-Lib.h>
|
|
#include <TaskManager.h>
|
|
|
|
class FTPTask : public Task {
|
|
public:
|
|
FTPTask();
|
|
virtual ~FTPTask();
|
|
|
|
virtual bool setup(std::shared_ptr<System> system) override;
|
|
virtual bool loop(std::shared_ptr<System> system) override;
|
|
|
|
private:
|
|
std::shared_ptr<FTPServer> _ftpServer;
|
|
bool _beginCalled;
|
|
};
|
|
|
|
#endif
|