Skip to content

Commit

Permalink
Don’t override LED_BUILTIN with macro; sometime it is defined as stat…
Browse files Browse the repository at this point in the history
…ic variable // Resolve #933
  • Loading branch information
ivankravets committed Apr 27, 2017
1 parent 37a5fa5 commit 41d1220
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions wiring-blink/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@

#include "Arduino.h"

#ifndef LED_BUILTIN
#define LED_BUILTIN 13
#endif
// Set LED_BUILTIN if it is not defined by Arduino framework
// #define LED_BUILTIN 13

void setup()
{
Expand Down

0 comments on commit 41d1220

Please sign in to comment.