Skip to content

Commit 3d939c6

Browse files
committed
Cosmetics
1 parent d9758fd commit 3d939c6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

microcontroller-src/kv4p_ht_esp32_wroom_32/debug.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,10 @@ void measureLoopFrequency() {
122122
#endif
123123
}
124124

125-
void debugSetup() {
125+
void inline debugSetup() {
126126
printEnvironment();
127127
}
128128

129-
void debugLoop() {
129+
void inline debugLoop() {
130130
measureLoopFrequency();
131131
}

microcontroller-src/kv4p_ht_esp32_wroom_32/led.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ uint8_t calcBreath(uint32_t now, uint32_t breath_every, uint8_t min, uint8_t max
5656
return ((bright * amplitude) / 255) + min;
5757
}
5858

59-
void showLEDs() {
59+
void inline showLEDs() {
6060
// When to actually act?
6161
static uint32_t next_time = 0;
6262
const static uint32_t update_every = 50; // in milliseconds
@@ -73,7 +73,7 @@ void showLEDs() {
7373
case MODE_RX:
7474
digitalWrite(LED_PIN, LOW);
7575
if (squelched) {
76-
neopixelColor(COLOR_RX_SQL_CLOSED, calcBreath(now, 2000, 127, 255));
76+
neopixelColor(COLOR_RX_SQL_CLOSED, calcBreath(now, 2000, 32, 255));
7777
} else {
7878
neopixelColor(COLOR_RX_SQL_OPEN);
7979
}
@@ -86,13 +86,13 @@ void showLEDs() {
8686
}
8787
}
8888

89-
void ledSetup() {
89+
void inline ledSetup() {
9090
// Debug LED
9191
pinMode(LED_PIN, OUTPUT);
9292
digitalWrite(LED_PIN, LOW);
9393
showLEDs();
9494
}
9595

96-
void ledLoop() {
96+
void inline ledLoop() {
9797
showLEDs();
9898
}

0 commit comments

Comments
 (0)