summaryrefslogtreecommitdiff
path: root/keyboards/moonlander/post_config.h
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2022-10-27 22:43:40 -0700
committerGitHub <noreply@github.com>2022-10-28 14:43:40 +0900
commitd9f575fa86ca10b990958d4e677c6a0a387dc7c3 (patch)
tree310799b9843273a98ad92872f31309fe69295223 /keyboards/moonlander/post_config.h
parent89e3c4c0daffc746b8393cf36b755e228a819709 (diff)
Reduce i2c timeouts for rgb led supported hardware (#360)
* Reduce i2c timeouts for rgb led supported hardware * update * make defines more consistent
Diffstat (limited to 'keyboards/moonlander/post_config.h')
-rw-r--r--keyboards/moonlander/post_config.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/keyboards/moonlander/post_config.h b/keyboards/moonlander/post_config.h
index d594c93413..493235a57e 100644
--- a/keyboards/moonlander/post_config.h
+++ b/keyboards/moonlander/post_config.h
@@ -1,9 +1,15 @@
+#pragma once
+
#ifdef AUDIO_ENABLE
-#ifndef STARTUP_SONG
-# define STARTUP_SONG SONG(E__NOTE(_DS5), E__NOTE(_D5), E__NOTE(_AS4), Q__NOTE(_F5))
-#endif
+# ifndef STARTUP_SONG
+# define STARTUP_SONG SONG(E__NOTE(_DS5), E__NOTE(_D5), E__NOTE(_AS4), Q__NOTE(_F5))
+# endif
-#ifndef GOODBYE_SONG
-# define GOODBYE_SONG SONG(E__NOTE(_D5), E__NOTE(_F5), E__NOTE(_C5), Q__NOTE(_AS4))
+# ifndef GOODBYE_SONG
+# define GOODBYE_SONG SONG(E__NOTE(_D5), E__NOTE(_F5), E__NOTE(_C5), Q__NOTE(_AS4))
+# endif
#endif
+
+#ifndef ISSI_TIMEOUT
+# define ISSI_TIMEOUT 5
#endif