diff options
author | Uros Majstorovic <majstor@majstor.org> | 2025-02-16 20:17:43 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2025-02-16 20:17:43 +0100 |
commit | d979b344e5d10c8ecb075554008b707c490db672 (patch) | |
tree | 9f3561e9bc9f42a375788c8680c7eabdeb8ea42a /fw/fe310/eos/dev/net.h | |
parent | 2e17dd17ee9777084b2f211f08c4231dd5f8b906 (diff) |
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); |