aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster
diff options
context:
space:
mode:
authorSelene ToyKeeper2023-04-26 01:41:39 -0600
committerSelene ToyKeeper2023-04-26 01:41:39 -0600
commite84d6a51cc3c52e95af1267f6013f3410de09484 (patch)
treef4dbb5ec37b118b8dfd5c9d8611838180a12784f /spaghetti-monster
parentchange channel mode per config step in channel mode menu (diff)
downloadanduril-e84d6a51cc3c52e95af1267f6013f3410de09484.tar.gz
anduril-e84d6a51cc3c52e95af1267f6013f3410de09484.tar.bz2
anduril-e84d6a51cc3c52e95af1267f6013f3410de09484.zip
whitespace cleanup
Diffstat (limited to 'spaghetti-monster')
-rw-r--r--spaghetti-monster/fsm-misc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/spaghetti-monster/fsm-misc.c b/spaghetti-monster/fsm-misc.c
index 626ad43..5a8a9fc 100644
--- a/spaghetti-monster/fsm-misc.c
+++ b/spaghetti-monster/fsm-misc.c
@@ -184,7 +184,7 @@ void button_led_set(uint8_t lvl) {
break;
#else
-
+
case 0: // LED off
BUTTON_LED_DDR &= 0xff ^ (1 << BUTTON_LED_PIN);
BUTTON_LED_PUE &= 0xff ^ (1 << BUTTON_LED_PIN);
@@ -214,7 +214,7 @@ void rgb_led_set(uint8_t value) {
uint8_t lvl = (value >> (i<<1)) & 0x03;
uint8_t pin = pins[i];
switch (lvl) {
-
+
#ifdef AVRXMEGA3 // ATTINY816, 817, etc
case 0: // LED off
@@ -232,7 +232,7 @@ void rgb_led_set(uint8_t value) {
break;
#else
-
+
case 0: // LED off
AUXLED_RGB_DDR &= 0xff ^ (1 << pin);
AUXLED_RGB_PUE &= 0xff ^ (1 << pin);
@@ -248,8 +248,8 @@ void rgb_led_set(uint8_t value) {
AUXLED_RGB_PUE |= (1 << pin);
AUXLED_RGB_PORT |= (1 << pin);
break;
-
- #endif // MCU type
+
+ #endif // MCU type
}
}
}
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.