mirror of
https://github.com/polhenarejos/pico-keys-sdk
synced 2026-06-10 11:59:05 +02:00
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -100,7 +100,7 @@ __attribute__ ((packed))
|
||||
#endif
|
||||
file_t;
|
||||
|
||||
extern bool file_has_data(file_t *);
|
||||
extern bool file_has_data(const file_t *);
|
||||
|
||||
extern file_t *currentEF;
|
||||
extern file_t *currentDF;
|
||||
|
||||
Reference in New Issue
Block a user