Constification

This commit is contained in:
Jasmine Iwanek
2023-07-20 18:58:26 -04:00
parent db66543959
commit 998cfe5cc8
163 changed files with 1086 additions and 1071 deletions

View File

@@ -396,8 +396,8 @@ ctr_latch_count(ctr_t *ctr)
uint16_t
pit_ctr_get_count(void *data, int counter_id)
{
pit_t *pit = (pit_t *) data;
ctr_t *ctr = &pit->counters[counter_id];
const pit_t *pit = (pit_t *) data;
const ctr_t *ctr = &pit->counters[counter_id];
return (uint16_t) ctr->l;
}