forked from project-chip/connectedhomeip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect preprocessor usage of LwIP PBUF_POOL (project-chip#29232)
Configuration allowed specifying an LwIP `pbuf_type` value for `System::PacketBuffer` allocations, and code tested this configuration in preprocessor conditions; however, the LwIP names are enum constants, not preprocessor defintions. This change replaces the configuration macro with a new one selecting between `PBUF_POOL` and `PBUF_RAM`. (From PR#14257 that introduced the configuration, it does not appear that other options were ever used.) Fixes project-chip#29208
- Loading branch information
1 parent
9ebd18a
commit ba85422
Showing
3 changed files
with
29 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters