// $Id$
-/* tab:4
+/*
* "Copyright (c) 2000-2003 The Regents of the University of California.
* All rights reserved.
*
"\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...
BIT(0);
}
- *pspiIn = spiIn;
+ return spiIn;
}
task void idleWait() {