make some options configurable and rename some constants

This commit is contained in:
2017-12-25 17:31:43 +01:00
parent bef9b83826
commit 89f8c59d40
9 changed files with 71 additions and 99 deletions
+1
View File
@@ -575,6 +575,7 @@ static void file_data_handler(uint32_t sector, const uint8_t *buf, uint32_t num_
file_transfer_state.size_transferred);
vfs_printf_nonl("\033[31m", 5);
// FIXME this seems wrong
vfs_printf_nonl((const char *) buf, VFS_SECTOR_SIZE * num_of_sectors);
vfs_printf_nonl("\033[0m\r\n", 6);