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:
Anderson Lizardo 2014-01-03 21:55:19 -04:00 committed by Johan Hedberg
parent 33df725cc6
commit d4b837f3cf

View File

@ -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 */