mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-18 10:59:45 +00:00
update to Zephyr 4.2.0
This commit is contained in:
1 parent
d5eeed48eb
commit
b74590a4a5
5 files changed
+30
-5
No files matched your search
@@ -10,7 +10,12 @@
|
||||
// semaphore until this event handler releases it when the network is ready
|
||||
K_SEM_DEFINE(run, 0, 1);
|
||||
|
||||
static void zeh(struct net_mgmt_event_callback *cb, uint32_t mgmt_event,
|
||||
static void zeh(struct net_mgmt_event_callback *cb,
|
||||
#if ZEPHYR_VERSION_CODE < 0x40000
|
||||
uint32_t mgmt_event,
|
||||
#else
|
||||
uint64_t mgmt_event,
|
||||
#endif
|
||||
struct net_if *iface) {
|
||||
if (mgmt_event == NET_EVENT_L4_CONNECTED) k_sem_give(&run);
|
||||
}
|
||||
|
||||
@@ -92,7 +92,12 @@ static void timer_fn(void *arg) {
|
||||
// semaphore until this event handler releases it when the network is ready
|
||||
K_SEM_DEFINE(run, 0, 1);
|
||||
|
||||
static void zeh(struct net_mgmt_event_callback *cb, uint32_t mgmt_event,
|
||||
static void zeh(struct net_mgmt_event_callback *cb,
|
||||
#if ZEPHYR_VERSION_CODE < 0x40000
|
||||
uint32_t mgmt_event,
|
||||
#else
|
||||
uint64_t mgmt_event,
|
||||
#endif
|
||||
struct net_if *iface) {
|
||||
if (mgmt_event == NET_EVENT_L4_CONNECTED) k_sem_give(&run);
|
||||
}
|
||||
|
||||
@@ -72,7 +72,12 @@ static void timer_fn(void *arg) {
|
||||
// semaphore until this event handler releases it when the network is ready
|
||||
K_SEM_DEFINE(run, 0, 1);
|
||||
|
||||
static void zeh(struct net_mgmt_event_callback *cb, uint32_t mgmt_event,
|
||||
static void zeh(struct net_mgmt_event_callback *cb,
|
||||
#if ZEPHYR_VERSION_CODE < 0x40000
|
||||
uint32_t mgmt_event,
|
||||
#else
|
||||
uint64_t mgmt_event,
|
||||
#endif
|
||||
struct net_if *iface) {
|
||||
if (mgmt_event == NET_EVENT_L4_CONNECTED) k_sem_give(&run);
|
||||
}
|
||||
|
||||
@@ -99,7 +99,12 @@ static void timer_fn(void *arg) {
|
||||
// semaphore until this event handler releases it when the network is ready
|
||||
K_SEM_DEFINE(run, 0, 1);
|
||||
|
||||
static void zeh(struct net_mgmt_event_callback *cb, uint32_t mgmt_event,
|
||||
static void zeh(struct net_mgmt_event_callback *cb,
|
||||
#if ZEPHYR_VERSION_CODE < 0x40000
|
||||
uint32_t mgmt_event,
|
||||
#else
|
||||
uint64_t mgmt_event,
|
||||
#endif
|
||||
struct net_if *iface) {
|
||||
if (mgmt_event == NET_EVENT_L4_CONNECTED) k_sem_give(&run);
|
||||
}
|
||||
|
||||
@@ -68,7 +68,12 @@ static void timer_fn(void *arg) {
|
||||
// semaphore until this event handler releases it when the network is ready
|
||||
K_SEM_DEFINE(run, 0, 1);
|
||||
|
||||
static void zeh(struct net_mgmt_event_callback *cb, uint32_t mgmt_event,
|
||||
static void zeh(struct net_mgmt_event_callback *cb,
|
||||
#if ZEPHYR_VERSION_CODE < 0x40000
|
||||
uint32_t mgmt_event,
|
||||
#else
|
||||
uint64_t mgmt_event,
|
||||
#endif
|
||||
struct net_if *iface) {
|
||||
if (mgmt_event == NET_EVENT_L4_CONNECTED) k_sem_give(&run);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user