Skip to content

Commit

Permalink
Clang formated
Browse files Browse the repository at this point in the history
  • Loading branch information
dbambus committed Dec 15, 2022
1 parent 6396134 commit 3c1e457
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions include/Animation.h
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,8 @@ class Ball {
}
virtual ~Ball(){};

void begin(int32_t row, int32_t column, RgbfColor foreground, RgbfColor background,
int32_t delay) {
void begin(int32_t row, int32_t column, RgbfColor foreground,
RgbfColor background, int32_t delay) {
this->delay = delay;
y = row << 8; // increase precision
r = row;
Expand Down
6 changes: 3 additions & 3 deletions src/Network.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ String Network_getSSID() { return wifiManager.getWiFiSSID(); }

void Network_setup(const char *hostname) {
wifiManager.setHostname(hostname);
#ifdef MANUAL_WIFI_SETTINGS
wifiManager.preloadWiFi(WIFI_SSID,WIFI_PASSWORD);
#endif
#ifdef MANUAL_WIFI_SETTINGS
wifiManager.preloadWiFi(WIFI_SSID, WIFI_PASSWORD);
#endif
wifiManager.autoConnect(connectionSSID);
// explicitly disable AP, esp defaults to STA+AP
WiFi.enableAP(false);
Expand Down
8 changes: 4 additions & 4 deletions src/Wortuhr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -753,10 +753,10 @@ void loop() {
break;
}

case COMMAND_SET_MINUTE: // Anzeige Minuten speichern
case COMMAND_SET_BRIGHTNESS: // Helligkeit speichern
case COMMAND_SET_LDR: // LDR Einstellung speichern
case COMMAND_SET_AUTO_LDR: // Auto LDR Parameter speichern
case COMMAND_SET_MINUTE: // Anzeige Minuten speichern
case COMMAND_SET_BRIGHTNESS: // Helligkeit speichern
case COMMAND_SET_LDR: // LDR Einstellung speichern
case COMMAND_SET_AUTO_LDR: // Auto LDR Parameter speichern
case COMMAND_SET_LANGUAGE_VARIANT: // Sprachvarianten Einstellungen
case COMMAND_SET_SETTING_SECOND: // Anzeige Sekunde speichern
case COMMAND_SET_TIME_MANUAL: // Uhrzeit manuell einstellen
Expand Down

0 comments on commit 3c1e457

Please sign in to comment.