Seiji Ainoguchi / SerialFlash

Dependents:   SerialFlashTest

Fork of SerialFlash by Seiji Ainoguchi

Revision:
2:6f8ab876b516
Parent:
0:d0117f54a7ee
--- a/M25PDevice.cpp	Wed Mar 02 00:28:03 2011 +0000
+++ b/M25PDevice.cpp	Wed Mar 02 16:09:09 2011 +0000
@@ -2,14 +2,14 @@
 #include "M25PDeviceImpl.h"
 #include "M25PDevice.h"
 
-bool M25PDevice::IsSupported(ISPI* pSPI)
+bool M25PDevice::IsSupported(ISPICommand* pSPICommand)
 {
-    return M25PDeviceImpl::IsSupported(pSPI);
+    return M25PDeviceImpl::IsSupported(pSPICommand);
 }
 
-M25PDevice* M25PDevice::Create(ISPI* pSPI)
+M25PDevice* M25PDevice::Create(ISPICommand* pSPICommand)
 {
-    M25PDeviceImpl* pImpl = M25PDeviceImpl::Create(pSPI);
+    M25PDeviceImpl* pImpl = M25PDeviceImpl::Create(pSPICommand);
     if (pImpl == NULL)
     {
         return NULL;