Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
...
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Commits on Aug 10, 2011
Jakob Pfender
Jakob Pfender
blink: Fix LED not switching off after executing blink
After running the blink l0dable, the LED would stay switched on until
the r0ket is reset. Fix this by increasing the loop count by one, making
the final iteration switch the LED off instead of on.

Signed-off-by: Jakob Pfender <norknork@spline.de>
Showing with 1 addition and 1 deletion.
  1. +1 −1 firmware/l0dable/blink.c
View
@@ -5,7 +5,7 @@
#include "usetable.h"
void ram(void){
- for (int x=0;x<20;x++){
+ for (int x=0;x<21;x++){
gpioSetValue (RB_LED1, x%2);
delayms(50);
};

No commit comments for this range