#pragma once

#include  "system/includes.h"
#include  "app_config.h"
#define CST_OFFSET_TIME (8*60*60)

extern void set_continuous_trans(signed char flag);
extern void himalaya_get_sys_time(struct sys_time *time);
extern u32 timestamp_mytime_2_utc_sec(struct sys_time *mytime);
extern void *malloc_psram(size_t size);
extern void free_psram(void *pv);

extern int net_get_dhcp_flag();
extern void h_post_ui_msg(int msg);