mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
modify esp32_tx_flow_ctrl to static function and move extern api to header file
This commit is contained in:
parent
19c8476344
commit
e38c4b0365
@ -388,9 +388,9 @@ static void lwip_socket_drop_registered_memberships(int s);
|
||||
#endif /* LWIP_IGMP */
|
||||
|
||||
#ifdef LWIP_ESP8266
|
||||
extern size_t system_get_free_heap_size(void);
|
||||
extern bool esp_wifi_tx_is_stop(void);
|
||||
inline void esp32_tx_flow_ctrl(void)
|
||||
//extern size_t system_get_free_heap_size(void);
|
||||
//extern bool esp_wifi_tx_is_stop(void);
|
||||
static inline void esp32_tx_flow_ctrl(void)
|
||||
{
|
||||
uint8_t _wait_delay = 0;
|
||||
|
||||
|
@ -69,6 +69,8 @@ sys_sem_t* sys_thread_sem_init(void);
|
||||
void sys_thread_sem_deinit(void);
|
||||
sys_sem_t* sys_thread_sem_get(void);
|
||||
|
||||
|
||||
size_t system_get_free_heap_size(void);
|
||||
bool esp_wifi_tx_is_stop(void);
|
||||
|
||||
#endif /* __SYS_ARCH_H__ */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user