Use new methods search_file() and file_put_data().

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2024-04-17 16:36:15 +02:00
parent 6f2721aba3
commit ef196bf10b
3 changed files with 30 additions and 20 deletions

View File

@@ -62,9 +62,7 @@ static inline void put_uint16_t(uint16_t n, uint8_t *b) {
*b = n & 0xff;
}
extern int flash_write_data_to_file(file_t *file, const uint8_t *data, uint16_t len);
extern void low_flash_available();
extern int flash_clear_file(file_t *file);
extern void timeout_stop();
extern void timeout_start();