X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Fxe1205%2Fxe1205debug.h;h=c2a3a014af981ddf21e757aee3535467ee9fc6ad;hb=f05e333221d21758aa1d1ab77929e5d0238f5370;hp=a649d021a9358f6c4770cb5ca323ef254234c959;hpb=07cb7526acbee26f169c11ce35918bf4c7137321;p=tinyos-2.x.git diff --git a/tos/chips/xe1205/xe1205debug.h b/tos/chips/xe1205/xe1205debug.h index a649d021..c2a3a014 100644 --- a/tos/chips/xe1205/xe1205debug.h +++ b/tos/chips/xe1205/xe1205debug.h @@ -4,7 +4,7 @@ uint16_t lasterr; void xe1205error(uint8_t loc, uint8_t value_) __attribute__ ((noinline)) { // this is just to make sure the compiler doesn't optimize // out calls to this function, since we use it as a gdb breakpoint - atomic var += value_ + loc; + atomic var += value_ + loc; }