[Tinyos-commits]
CVS: tinyos-1.x/tos/platform/avrmote avrhardware.h, 1.16, 1.17
Jonathan Hui
jwhui at users.sourceforge.net
Sat Jul 23 14:43:37 PDT 2005
Update of /cvsroot/tinyos/tinyos-1.x/tos/platform/avrmote
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22387
Modified Files:
avrhardware.h
Log Message:
- Some changes to support TOSBoot.
Index: avrhardware.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/tos/platform/avrmote/avrhardware.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** avrhardware.h 20 Jun 2005 22:07:45 -0000 1.16
--- avrhardware.h 23 Jul 2005 21:43:34 -0000 1.17
***************
*** 174,177 ****
--- 174,179 ----
}
+ #endif
+
inline void __nesc_atomic_sleep()
{
***************
*** 182,189 ****
}
- #endif
-
inline void __nesc_enable_interrupt() {
sei();
}
#endif //TOSH_AVRHARDWARE_H
--- 184,194 ----
}
inline void __nesc_enable_interrupt() {
sei();
}
+
+ inline void __nesc_disable_interrupt() {
+ cli();
+ }
+
#endif //TOSH_AVRHARDWARE_H
More information about the Tinyos-commits
mailing list