diff options
Diffstat (limited to 'fw/fe310/eos/dev/net.h')
-rw-r--r-- | fw/fe310/eos/dev/net.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/fw/fe310/eos/dev/net.h b/fw/fe310/eos/dev/net.h index 2482a32..ead88b6 100644 --- a/fw/fe310/eos/dev/net.h +++ b/fw/fe310/eos/dev/net.h @@ -1,4 +1,5 @@ #include <stdint.h> + #include "../event.h" /* common */ @@ -6,7 +7,7 @@ #define EOS_NET_SIZE_BUF EOS_NET_MTU #define EOS_NET_MTYPE_SOCK 1 -#define EOS_NET_MTYPE_RNG 3 +#define EOS_NET_MTYPE_RNG 3 #define EOS_NET_MTYPE_POWER 4 #define EOS_NET_MTYPE_WIFI 5 @@ -27,8 +28,8 @@ #define EOS_NET_FLAG_SYNC 0x2 #define EOS_NET_FLAG_REPL 0x4 -int eos_net_init(uint8_t wakeup_cause); -int eos_net_run(uint8_t wakeup_cause); +int eos_net_init(void); +int eos_net_run(void); void eos_net_start(void); void eos_net_stop(void); int eos_net_sleep(uint32_t timeout); |