mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-12 17:13:29 +07:00
17 lines
292 B
C
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
|