Add getmODIFYdATEtIME

This commit is contained in:
jpirnay
2026-03-08 10:08:38 +01:00
parent b9eefc5e70
commit 69f893840a
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -147,6 +147,9 @@ int HalFile::read() { HAL_FILE_WRAPPED_CALL(read, ); }
size_t HalFile::write(const void* buf, size_t count) { HAL_FILE_WRAPPED_CALL(write, buf, count); }
size_t HalFile::write(uint8_t b) { HAL_FILE_WRAPPED_CALL(write, b); }
bool HalFile::rename(const char* newPath) { HAL_FILE_WRAPPED_CALL(rename, newPath); }
bool HalFile::getModifyDateTime(uint16_t* pdate, uint16_t* ptime) {
HAL_FILE_WRAPPED_CALL(getModifyDateTime, pdate, ptime);
}
bool HalFile::isDirectory() const { HAL_FILE_FORWARD_CALL(isDirectory, ); } // already thread-safe, no need to wrap
void HalFile::rewindDirectory() { HAL_FILE_WRAPPED_CALL(rewindDirectory, ); }
bool HalFile::close() { HAL_FILE_WRAPPED_CALL(close, ); }
+1
View File
@@ -86,6 +86,7 @@ class HalFile : public Print {
size_t write(const void* buf, size_t count);
size_t write(uint8_t b) override;
bool rename(const char* newPath);
bool getModifyDateTime(uint16_t* pdate, uint16_t* ptime);
bool isDirectory() const;
void rewindDirectory();
bool close();