[Tinyos-commits] CVS: tinyos-1.x/tos/platform/avrmote avrhardware.h, 1.17, 1.18

David Gay idgay at users.sourceforge.net
Mon Oct 10 10:32:28 PDT 2005


Update of /cvsroot/tinyos/tinyos-1.x/tos/platform/avrmote
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20221

Modified Files:
	avrhardware.h 
Log Message:
more avr-libc 1.2.3 stuff


Index: avrhardware.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/tos/platform/avrmote/avrhardware.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** avrhardware.h	23 Jul 2005 21:43:34 -0000	1.17
--- avrhardware.h	10 Oct 2005 17:32:26 -0000	1.18
***************
*** 67,71 ****
  #define outp(value, port) ((port) = (value))
  #define outb(port, value) ((port) = (value))
! #define inw(port) (*(volatile uint16_t *)&port)
  #define PRG_RDB(addr) pgm_read_byte(addr)
  #endif
--- 67,72 ----
  #define outp(value, port) ((port) = (value))
  #define outb(port, value) ((port) = (value))
! #define inw(port) (*(volatile uint16_t *)&(port))
! #define outw(port, value) ((*(volatile uint16_t *)&(port)) = (value))
  #define PRG_RDB(addr) pgm_read_byte(addr)
  #endif



More information about the Tinyos-commits mailing list