| 1830 | // pointer to tstr |
| 1831 | |
| 1832 | char* FtpServer::makeDateTimeStr(char* tstr, uint16_t date, uint16_t time) |
| 1833 | { |
| 1834 | sprintf(tstr, "%04u%02u%02u%02u%02u%02u", ((date & 0xFE00) >> 9) + 1980, (date & 0x01E0) >> 5, date & 0x001F, |
| 1835 | (time & 0xF800) >> 11, (time & 0x07E0) >> 5, (time & 0x001F) << 1); |
| 1836 | return tstr; |
| 1837 | } |
| 1838 | |
| 1839 | uint16_t FtpServer::fileSize(FTP_FILE file) |
| 1840 | { |
nothing calls this directly
no outgoing calls
no test coverage detected