From f946821381743ceb699d7d72b614a79cfa6078f0 Mon Sep 17 00:00:00 2001 From: ficeto Date: Sat, 16 May 2015 16:29:10 +0300 Subject: [PATCH] fix data types --- libraries/SD/src/SD.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/SD/src/SD.h b/libraries/SD/src/SD.h index b0192dd2f..62276b4ee 100644 --- a/libraries/SD/src/SD.h +++ b/libraries/SD/src/SD.h @@ -106,8 +106,8 @@ public: boolean rmdir(char *filepath); - size_t type(){ return card.type(); } - size_t fatType(){ return volume.fatType(); } + uint8_t type(){ return card.type(); } + uint8_t fatType(){ return volume.fatType(); } size_t blocksPerCluster(){ return volume.blocksPerCluster(); } size_t totalClusters(){ return volume.clusterCount(); } size_t blockSize(){ return (size_t)0x200; }