Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion hal/architecture/ESP8266/MyHwESP8266.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
* version 2 as published by the Free Software Foundation.
*/

#include <Schedule.h>
#include "MyHwESP8266.h"

bool hwInit(void)
Expand All @@ -29,7 +30,12 @@ bool hwInit(void)
#endif
#endif
EEPROM.begin(EEPROM_size);
return true;
// register _process() to be called at most every 1us,
// at every loop() or yield()
return schedule_recurrent_function_us([]() {
_process();
return true;
}, 1);
}

void hwReadConfigBlock(void *buf, void *addr, size_t length)
Expand Down
45 changes: 0 additions & 45 deletions hal/architecture/ESP8266/MyMainESP8266.cpp

This file was deleted.