Add getmODIFYdATEtIME
This commit is contained in:
@@ -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, ); }
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user