Changeset 93
- Timestamp:
- 06/11/2007 04:14:18 AM (5 years ago)
- File:
-
- 1 edited
-
nano-RK/src/platform/micaZ/source/ulib.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
nano-RK/src/platform/micaZ/source/ulib.c
r69 r93 239 239 if(led==1) { nrk_gpio_toggle(NRK_LED_1); return 1; } 240 240 if(led==2) { nrk_gpio_toggle(NRK_LED_2); return 1; } 241 if(led==3) { nrk_gpio_toggle(NRK_LED_3); return 1; }242 241 return -1; 243 242 } … … 248 247 if(led==1) { nrk_gpio_set(NRK_LED_1); return 1; } 249 248 if(led==2) { nrk_gpio_set(NRK_LED_2); return 1; } 250 if(led==3) { nrk_gpio_set(NRK_LED_3); return 1; }251 249 return -1; 252 250 } … … 257 255 if(led==1) { nrk_gpio_clr(NRK_LED_1); return 1; } 258 256 if(led==2) { nrk_gpio_clr(NRK_LED_2); return 1; } 259 if(led==3) { nrk_gpio_clr(NRK_LED_3); return 1; }260 257 return -1; 261 258 }
Note: See TracChangeset
for help on using the changeset viewer.
