]> oss.titaniummirror.com Git - tinyos-2.x.git/commit
Change parameter name to idx instead of index for compatibility with nesC 1.3. In...
authorklueska <klueska>
Thu, 22 May 2008 17:45:00 +0000 (17:45 +0000)
committerklueska <klueska>
Thu, 22 May 2008 17:45:00 +0000 (17:45 +0000)
commit8f6c7a55df64586d4fa72f8a8761284d75d324db
treeb8aff20677d0db351b5729a64fd5aa0af4da8325
parentea0ebb3c5b342d9dc5ba5dc48f261246ff3dc36c
Change parameter name to idx instead of index for compatibility with nesC 1.3.  In nesC 1.3, parameter names are no longer renamed in interfaces, and 'index' is an illegal parameter name because it shadows the *built-in* definition of index from gcc.  This has been fixed in newer versions of gcc, but the msp430-gcc we use (and have to use) is pretty old.  Moral of the story.... don't use index as a paramter name.
tos/chips/msp430/adc12/HplAdc12.nc