mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-30 07:34:27 +08:00
health: Fix struct mcap_csp "csp_req" field type
The values to which this field is set have nothing to do with MCAPCtrl. Fixes clang error: profiles/health/mcap_sync.c:767:24: error: comparison of constant 17 with expression of type 'MCAPCtrl' is always true [-Werror,-Wtautological-constant-out-of-range-compare]
This commit is contained in:
parent
33df725cc6
commit
d4b837f3cf
@ -55,7 +55,7 @@ struct mcap_csp {
|
||||
guint remote_caps; /* CSP-Slave: remote master got caps */
|
||||
guint rem_req_acc; /* CSP-Slave: accuracy required by master */
|
||||
guint ind_expected; /* CSP-Master: indication expected */
|
||||
MCAPCtrl csp_req; /* CSP-Master: Request control flag */
|
||||
uint8_t csp_req; /* CSP-Master: Request control flag */
|
||||
guint ind_timer; /* CSP-Slave: indication timer */
|
||||
guint set_timer; /* CSP-Slave: delayed set timer */
|
||||
void *set_data; /* CSP-Slave: delayed set data */
|
||||
|
Loading…
Reference in New Issue
Block a user