]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/mica2dot/chips/at45db/HplAt45dbIOP.nc
Remove bogus 'tab:4' and 'tab:2' markers.
[tinyos-2.x.git] / tos / platforms / mica2dot / chips / at45db / HplAt45dbIOP.nc
index cf7e565e5ff9ca51bb582bc0f2b99116927e0fcd..4c04454499de1387f0c45c6f13d66d751a4ba111 100644 (file)
@@ -1,6 +1,6 @@
 // $Id$
 
-/*                                                                     tab:4
+/*
  * "Copyright (c) 2000-2003 The Regents of the University  of California.  
  * All rights reserved.
  *
@@ -94,7 +94,7 @@ implementation
         "\tori %0,1<<" #n "\n" \
         : "=d" (spiIn) : "0" (spiIn), "r" (spiOut))
 
-  async command void FlashSpi.write(uint8_t spiOut, uint8_t *pspiIn) {
+  async command uint8_t FlashSpi.write(uint8_t spiOut) {
     uint8_t spiIn = 0;
 
     // This atomic ensures integrity at the hardware level...
@@ -112,7 +112,7 @@ implementation
        BIT(0);
       }
 
-    *pspiIn = spiIn;
+    return spiIn;
   }
 
   task void idleWait() {