mirror of
https://github.com/espressif/openthread.git
synced 2026-10-05 07:17:39 +00:00
[common] introduce bit_utils.hpp for bit manipulation (#11884)
This commit introduces a new header file, `common/bit_utils.hpp`, to consolidate bit manipulation utility functions. These functions were previously located in `common/num_utils.hpp`. Moving them to a dedicated file improves code organization and clarity by separating them from general numerical utilities. All files that used these functions have been updated to include the new header.
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
#include <openthread/config.h>
|
||||
|
||||
#include "test_util.h"
|
||||
#include "common/bit_utils.hpp"
|
||||
#include "common/code_utils.hpp"
|
||||
#include "common/num_utils.hpp"
|
||||
#include "common/numeric_limits.hpp"
|
||||
|
||||
Reference in New Issue
Block a user