@@ -3,7 +3,9 @@
#include "luat_spi.h"
#ifdef LUAT_USE_W5500
#include "luat_rtos.h"
+#ifdef __LUATOS__
#include "luat_zbuff.h"
+#endif
#include "luat_gpio.h"
#include "w5500_def.h"
#include "luat_crypto.h"
@@ -2,7 +2,9 @@
#define LUAT_TIMER_H
#include "luat_base.h"
#include "luat_msgbus.h"
typedef struct luat_timer
{
@@ -11,7 +13,10 @@ typedef struct luat_timer
size_t timeout;
size_t type;
int repeat;
luat_msg_handler func;
+
}luat_timer_t;