lwip: fix rtx storage types

pull/7364/head
Martin Kojtal 2018-06-28 14:17:30 +01:00
parent f2cc21d038
commit 1188f4a0b9
2 changed files with 7 additions and 5 deletions

View File

@ -141,20 +141,20 @@ public:
void *hw; /**< alternative implementation pointer - used for PPP */
};
os_semaphore_t linked_sem;
mbed_rtos_storage_semaphore_t linked_sem;
osSemaphoreId_t linked;
os_semaphore_t unlinked_sem;
mbed_rtos_storage_semaphore_t unlinked_sem;
osSemaphoreId_t unlinked;
os_semaphore_t has_any_addr_sem;
mbed_rtos_storage_semaphore_t has_any_addr_sem;
osSemaphoreId_t has_any_addr;
#define HAS_ANY_ADDR 1
#if PREF_ADDR_TIMEOUT
os_semaphore_t has_pref_addr_sem;
mbed_rtos_storage_semaphore_t has_pref_addr_sem;
osSemaphoreId_t has_pref_addr;
#define HAS_PREF_ADDR 2
#endif
#if BOTH_ADDR_TIMEOUT
os_semaphore_t has_both_addr_sem;
mbed_rtos_storage_semaphore_t has_both_addr_sem;
osSemaphoreId_t has_both_addr;
#define HAS_BOTH_ADDR 4
#endif

View File

@ -21,6 +21,8 @@
#include "lwip/opt.h"
#include "mbed_rtos_storage.h"
#include <stdbool.h>
extern u8_t lwip_ram_heap[];
#if NO_SYS == 0