Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Smoothie by
SDFAT.cpp
00001 #include "SDFAT.h" 00002 00003 SDFAT::SDFAT(const char *n, MSD_Disk *disk) : mbed::FATFileSystem(n) 00004 { 00005 d = disk; 00006 } 00007 00008 int SDFAT::disk_initialize() 00009 { 00010 return d->disk_initialize(); 00011 } 00012 00013 int SDFAT::disk_status() 00014 { 00015 return d->disk_status(); 00016 } 00017 00018 int SDFAT::disk_read(char *buffer, int sector) 00019 { 00020 return d->disk_read(buffer, sector); 00021 } 00022 00023 int SDFAT::disk_write(const char *buffer, int sector) 00024 { 00025 return d->disk_write(buffer, sector); 00026 } 00027 00028 int SDFAT::disk_sync() 00029 { 00030 return d->disk_sync(); 00031 } 00032 00033 int SDFAT::disk_sectors() 00034 { 00035 return d->disk_sectors(); 00036 }
Generated on Tue Jul 12 2022 20:09:02 by
1.7.2
