summaryrefslogtreecommitdiffstats
path: root/keyboards/nebula12/config.h
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2021-06-03 09:48:16 +1000
committerGitHub <noreply@github.com>2021-06-03 09:48:16 +1000
commit597d2e0e7bdc3f2629965a5b393b725e9ab8442b (patch)
treee7cabc6c252a4c250704e42f9c2b34da076315b9 /keyboards/nebula12/config.h
parent35dbe8ba035c8eefc1051226aa8e3dd7cd63a912 (diff)
Fix up WS2812 SPI driver on F072. (#13022)
Diffstat (limited to 'keyboards/nebula12/config.h')
-rwxr-xr-xkeyboards/nebula12/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/nebula12/config.h b/keyboards/nebula12/config.h
index 6f596beb37..da9fd10575 100755
--- a/keyboards/nebula12/config.h
+++ b/keyboards/nebula12/config.h
@@ -100,6 +100,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define WS2812_SPI SPID2 // default: SPID1
#define WS2812_SPI_MOSI_PAL_MODE 0 // Pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 5
+#define WS2812_SPI_SCK_PAL_MODE 0
+#define WS2812_SPI_SCK_PIN B13
#define RGB_DI_PIN B15
#ifdef RGB_DI_PIN