wiznet stuff
This commit is contained in:
@ -5,6 +5,7 @@
|
||||
#include <logger.h>
|
||||
#include <mbusComm.h>
|
||||
#include <PontCoopScheduler.h>
|
||||
#include <utils.h>
|
||||
|
||||
#define HIGH GPIO_PIN_SET
|
||||
#define LOW GPIO_PIN_RESET
|
||||
@ -127,8 +128,7 @@ static void eepromHourlyUpdateDeviceStats(void *handle) {
|
||||
|
||||
// active waiting, use only during initialization!
|
||||
static void eepromActiveDelay(uint8_t delay_ms) {
|
||||
uint32_t startTime = HAL_GetTick();
|
||||
while (startTime + delay_ms > HAL_GetTick());
|
||||
activeDelay(delay_ms);
|
||||
}
|
||||
|
||||
void eepromInit() {
|
||||
|
Reference in New Issue
Block a user