mirror of
https://github.com/lumapu/ahoy.git
synced 2025-08-06 01:48:19 +02:00
parent
6af07f5a33
commit
4fc61dc01f
6 changed files with 33 additions and 34 deletions
|
@ -299,7 +299,7 @@ class app : public IApp, public ah::Scheduler {
|
|||
#if defined(ETHERNET)
|
||||
mEth.updateNtpTime();
|
||||
#else /* defined(ETHERNET) */
|
||||
mWifi.getNtpTime();
|
||||
mWifi.updateNtpTime();
|
||||
#endif /* defined(ETHERNET) */
|
||||
}
|
||||
else
|
||||
|
@ -389,10 +389,8 @@ class app : public IApp, public ah::Scheduler {
|
|||
}
|
||||
|
||||
void tickNtpUpdate(void);
|
||||
#if defined(ETHERNET)
|
||||
void onNtpUpdate(bool gotTime);
|
||||
bool mNtpReceived = false;
|
||||
#endif /* defined(ETHERNET) */
|
||||
void updateNtp(void);
|
||||
|
||||
void triggerTickSend() override {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue