Permalink
Browse files

example_blink_led: Removed outdated comment.

  • Loading branch information...
DavidEGrayson committed Mar 16, 2011
1 parent f81411e commit 72e9e3d3ccd4a95e723d99a0afc76b4e8f0cb425
Showing with 0 additions and 2 deletions.
  1. +0 −2 apps/example_blink_led/example_blink_led.c
@@ -13,8 +13,6 @@ void updateLeds()
LED_YELLOW(0);
- // NOTE: The code below is bad because it is reading two bytes of timeMs,
- // and the interrupt that updates timeMs could fire between those two reads.
if ((uint16)(getMs() - lastToggle) >= (param_blink_period_ms/2))
{
LED_RED(!LED_RED_STATE);

0 comments on commit 72e9e3d

Please sign in to comment.