fork from va009039/USBLocalFileSystem

Dependencies:   USBDevice

Dependents:   11u35_usbLocalFilesystem

Fork of USBLocalFileSystem by Norimasa Okamoto

Revision:
1:00c9eb8af5c2
Parent:
0:39eb4d5b97df
Child:
2:97c314eae8b8
--- a/USBLocalFileSystem.cpp	Sat May 03 11:21:37 2014 +0000
+++ b/USBLocalFileSystem.cpp	Sun May 04 00:23:05 2014 +0000
@@ -43,9 +43,15 @@
     _local = new LocalStorage(_storage); 
 }
 
-void USBLocalFileSystem::putc(int c)
+
+int USBLocalFileSystem::readable()
 {
-    _usb->putc(c);
+    return _usb->readable();
+}
+
+int USBLocalFileSystem::writeable()
+{
+    return _usb->writeable();
 }
 
 int USBLocalFileSystem::getc()
@@ -53,4 +59,9 @@
     return _usb->getc();
 }
 
+void USBLocalFileSystem::putc(int c)
+{
+    _usb->putc(c);
+}
+
     
\ No newline at end of file