[Tinyos-commits] CVS: tinyos-1.x/tos/lib/Deluge/TOSBoot/avr
ProgFlashM.nc, 1.2, 1.3
Jonathan Hui
jwhui at users.sourceforge.net
Fri Apr 28 10:22:18 PDT 2006
Update of /cvsroot/tinyos/tinyos-1.x/tos/lib/Deluge/TOSBoot/avr
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3895/avr
Modified Files:
ProgFlashM.nc
Log Message:
Fix from Jacob Sorber. Initialize the flash pins properly before use.
Index: ProgFlashM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/tos/lib/Deluge/TOSBoot/avr/ProgFlashM.nc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ProgFlashM.nc 19 Sep 2005 23:40:10 -0000 1.2
--- ProgFlashM.nc 28 Apr 2006 17:22:15 -0000 1.3
***************
*** 39,43 ****
#include <boot.h>
! command result_t ProgFlash.write(in_flash_addr_t addr, uint8_t* buf, uint16_t len) {
uint16_t* wordBuf = (uint16_t*)buf;
--- 39,43 ----
#include <boot.h>
! command result_t ProgFlash.write(in_flash_addr_t addr, uint8_t* buf, in_flash_addr_t len) {
uint16_t* wordBuf = (uint16_t*)buf;
More information about the Tinyos-commits
mailing list