Bluetooth: host: Fix scan filter_dup parameter on big endian systems
Fix filter_dup and options in union with mixed size integral types, this is not portable, and causes malfunction on big-endian systems. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
parent
d10d0f0b39
commit
0158b76096
1 changed files with 1 additions and 1 deletions
|
@ -747,7 +747,7 @@ struct bt_le_scan_param {
|
|||
|
||||
union {
|
||||
/** Bit-field of scanning filter options. */
|
||||
u8_t filter_dup __deprecated;
|
||||
u32_t filter_dup __deprecated;
|
||||
|
||||
/** Bit-field of scanning options. */
|
||||
u32_t options;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue