Skip to content

Commit

Permalink
wiseconnect: Fix macro redefinition of IS_POWER_OF_TWO()
Browse files Browse the repository at this point in the history
IS_POWER_OF_TWO() is also defined in Zephyr with the same definition.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
  • Loading branch information
jerome-pouiller authored and jhedberg committed Feb 7, 2025
1 parent 5452134 commit 3c99def
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@
#define GET_SAFE_MEMCPY_LENGTH(destination_size, source_size) \
source_size > destination_size ? destination_size : source_size

#define IS_POWER_OF_TWO(x) (x < 0) ? 0 : (x && (!(x & (x - 1))))

extern sli_si91x_socket_t *sli_si91x_sockets[NUMBER_OF_SOCKETS];

sl_status_t sli_si91x_socket_init(uint8_t max_select_count);
Expand Down

0 comments on commit 3c99def

Please # to comment.