mirror of https://github.com/arendst/Tasmota.git
20 lines
425 B
C
20 lines
425 B
C
#include "be_constobj.h"
|
|
|
|
static be_define_const_map_slots(m_libtime_map) {
|
|
{ be_const_key(dump, 1), be_const_func(m_dump) },
|
|
{ be_const_key(clock, -1), be_const_func(m_clock) },
|
|
{ be_const_key(time, 0), be_const_func(m_time) },
|
|
};
|
|
|
|
static be_define_const_map(
|
|
m_libtime_map,
|
|
3
|
|
);
|
|
|
|
static be_define_const_module(
|
|
m_libtime,
|
|
"time"
|
|
);
|
|
|
|
BE_EXPORT_VARIABLE be_define_const_native_module(time, NULL);
|