Add constness

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2026-04-01 16:20:12 +02:00
parent 8df41a6789
commit 189567eebe
2 changed files with 2 additions and 2 deletions

View File

@@ -506,7 +506,7 @@ int meta_add(uint16_t fid, const uint8_t *data, uint16_t len) {
return PICOKEY_OK;
}
bool file_has_data(file_t *f) {
bool file_has_data(const file_t *f) {
return f != NULL && f->data != NULL && file_get_size(f) > 0;
}