mirror of
https://github.com/cesanta/mongoose.git
synced 2026-12-04 21:58:22 +00:00
Rename mg_tcpip_spi to mg_spi and move it to flash.h
This commit is contained in:
1 parent
1d8c55c892
commit
e7bfbf99fa
23 files changed
+104
-106
No files matched your search
+2
-6
@@ -1,8 +1,6 @@
|
||||
#include "arch.h"
|
||||
#include "config.h"
|
||||
#include "ota.h"
|
||||
#pragma once
|
||||
|
||||
#if (MG_OTA != MG_OTA_NONE && MG_OTA != MG_OTA_CUSTOM) || MG_ENABLE_LFS
|
||||
#include "arch.h"
|
||||
|
||||
struct mg_flash {
|
||||
void *start; // Address at which flash starts
|
||||
@@ -19,5 +17,3 @@ bool mg_lfs_init(size_t size);
|
||||
bool mg_ota_flash_begin(size_t new_firmware_size, struct mg_flash *flash);
|
||||
bool mg_ota_flash_write(const void *buf, size_t len, struct mg_flash *flash);
|
||||
bool mg_ota_flash_end(struct mg_flash *flash);
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user