mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-25 15:27:17 +00:00
21 lines
511 B
C
21 lines
511 B
C
#include "be_constobj.h"
|
|
|
|
static be_define_const_map_slots(m_libflash_map) {
|
|
{ be_const_key(write, -1), be_const_func(p_flash_write) },
|
|
{ be_const_key(factory, 2), be_const_ctype_func(p_factory) },
|
|
{ be_const_key(erase, 3), be_const_func(p_flash_erase) },
|
|
{ be_const_key(read, -1), be_const_func(p_flash_read) },
|
|
};
|
|
|
|
static be_define_const_map(
|
|
m_libflash_map,
|
|
4
|
|
);
|
|
|
|
static be_define_const_module(
|
|
m_libflash,
|
|
"flash"
|
|
);
|
|
|
|
BE_EXPORT_VARIABLE be_define_const_native_module(flash);
|