Skip to content

Commit c360d6c

Browse files
committed
Astyle for re-re-re-merged examples
1 parent 77609de commit c360d6c

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

libraries/FunctionalInterrupt/examples/Functional/Functional.ino

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,12 @@ class Button {
2626
detachInterrupt(PIN);
2727
}
2828

29-
void IRAM_ATTR buttonIsr()
30-
{
29+
void IRAM_ATTR buttonIsr() {
3130
numberKeyPresses += 1;
3231
pressed = true;
3332
}
3433

35-
static void IRAM_ATTR buttonIsr_static(Button* const self)
36-
{
34+
static void IRAM_ATTR buttonIsr_static(Button* const self) {
3735
self->buttonIsr();
3836
}
3937

libraries/FunctionalInterrupt/examples/ScheduledFunctional/ScheduledFunctional.ino

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,12 @@ class Button {
2929
detachInterrupt(PIN);
3030
}
3131

32-
void IRAM_ATTR buttonIsr()
33-
{
32+
void IRAM_ATTR buttonIsr() {
3433
numberKeyPresses += 1;
3534
pressed = true;
3635
}
3736

38-
static void IRAM_ATTR buttonIsr_static(Button* const self)
39-
{
37+
static void IRAM_ATTR buttonIsr_static(Button* const self) {
4038
self->buttonIsr();
4139
}
4240

0 commit comments

Comments
 (0)