Skip to content

Commit fde3960

Browse files
Andreas Larssonandreas.larsson
authored andcommitted
Fixed dynamic message queue for scan results
1 parent a4f09b5 commit fde3960

File tree

1 file changed

+4
-2
lines changed
  • targets/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_EVK_ODIN_W2/sdk/ublox-odin-w2-drivers

1 file changed

+4
-2
lines changed

targets/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_EVK_ODIN_W2/sdk/ublox-odin-w2-drivers/OdinWiFiInterface.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include "mbed_events.h"
2323

2424
#include "rtos.h"
25+
#include "cmsis_os.h"
2526
#include "emac_api.h"
2627
#include "nsapi_types.h"
2728
#include "lwip/netif.h"
@@ -211,8 +212,9 @@ class OdinWiFiInterface : public WiFiInterface
211212
int32_t target_id;
212213
// Event queue for sending start up and connection events from driver to this class
213214
MsgQueue _event_queue;
214-
// Event queue for sending scan events from driver to this class
215-
MsgQueue _scan_event_queue;
215+
// Message queue for sending scan events from driver to this class
216+
osMessageQId _scan_msg_queue_id;
217+
osMessageQDef_t _queue_def;
216218
};
217219

218220
#endif

0 commit comments

Comments
 (0)