Fix: Minor update on function signature

This commit is contained in:
Isoheptane 2024-09-17 07:25:07 +08:00
parent 2aca017d13
commit 2d4b533658
No known key found for this signature in database
GPG Key ID: 21ECF6DDEED59BDF
2 changed files with 2 additions and 2 deletions

View File

@ -167,7 +167,7 @@ const uint16_t *touch_raw()
return readout;
}
const uint16_t *map_raw_to_zones(const uint16_t* raw) {
const uint16_t *map_raw_to_zones(uint16_t* raw) {
static uint16_t zones[36];
for (int i = 0; i < 34; i++) {

View File

@ -29,7 +29,7 @@ uint64_t touch_touchmap();
void touch_set_map(unsigned sensor, unsigned key);
const uint16_t *touch_raw();
const uint16_t *map_raw_to_zones(const uint16_t *raw);
const uint16_t *map_raw_to_zones(uint16_t *raw);
bool touch_sensor_ok(unsigned i);
void touch_update_config();