8000 Make ArduinoISP code formatting compliant with examples_formatter.conf · arduino/arduino-examples@d8d24c7 · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d8d24c7

Browse files
committed
Make ArduinoISP code formatting compliant with examples_formatter.conf
1 parent 5c47f87 commit d8d24c7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

examples/11.ArduinoISP/ArduinoISP/ArduinoISP.ino

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,16 @@
5555

5656
// With an Genuino/Uno board, uncomment following line to generate a 4 MHz clock
5757
// signal on pin 3 (only available on Uno / ATmega*8)
58-
//
58+
//
5959
// Can be useful to recover an AVR chip with fuses setup for an external clock
6060

6161
// #define ENABLE_CLOCK_GEN
6262

6363
#ifdef ENABLE_CLOCK_GEN
6464

65-
#if defined(__AVR_ATmega328__) || defined(__AVR_ATmega328P__) || defined(__AVR_ATmega168__) || defined(__AVR_ATmega88__)
66-
#define CLOCK_GEN_ENABLED
67-
#endif
65+
#if defined(__AVR_ATmega328__) || defined(__AVR_ATmega328P__) || defined(__AVR_ATmega168__) || defined(__AVR_ATmega88__)
66+
#define CLOCK_GEN_ENABLED
67+
#endif
6868

6969
#endif
7070

@@ -240,7 +240,7 @@ static BitBangedSPI SPI;
240240
#ifdef CLOCK_GEN_ENABLED
241241

242242
// ouput a 4MHz clock on pin 3 (Uno) using fast PWM
243-
void setup_clock_gen(){
243+
void setup_clock_gen() {
244244
pinMode(3, OUTPUT);
245245
TCCR2A = 0x23;
246246
TCCR2B = 0x09;
@@ -260,9 +260,9 @@ void setup() {
260260
pinMode(LED_HB, OUTPUT);
261261
pulse(LED_HB, 2);
262262

263-
#ifdef CLOCK_GEN_ENABLED
263+
#ifdef CLOCK_GEN_ENABLED
264264
setup_clock_gen();
265-
#endif
265+
#endif
266266

267267
}
268268

0 commit comments

Comments
 (0)
0