bitq: fix warning now that out_value is const
This was an easy one. Just add the missing "const" to a local variable definition. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
This commit is contained in:
parent
c2f714bd44
commit
ccfaed8bc7
|
@ -226,7 +226,7 @@ void bitq_scan_field(struct scan_field* field, int pause)
|
||||||
int bit_cnt;
|
int bit_cnt;
|
||||||
int tdo_req;
|
int tdo_req;
|
||||||
|
|
||||||
uint8_t* out_ptr;
|
const uint8_t* out_ptr;
|
||||||
uint8_t out_mask;
|
uint8_t out_mask;
|
||||||
|
|
||||||
if (field->in_value)
|
if (field->in_value)
|
||||||
|
|
Loading…
Reference in New Issue