Files
mongoose/src/ota_dummy.c
T
2024-10-24 19:08:06 -03:00

17 lines
292 B
C

#include "log.h"
#include "ota.h"
#if MG_OTA == MG_OTA_NONE
bool mg_ota_begin(size_t new_firmware_size) {
(void) new_firmware_size;
return true;
}
bool mg_ota_write(const void *buf, size_t len) {
(void) buf, (void) len;
return true;
}
bool mg_ota_end(void) {
return true;
}
#endif