We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71f9eea commit 92ff155Copy full SHA for 92ff155
src/main.cpp
@@ -1,7 +1,7 @@
1
#include "config.h"
2
#include "cube.h"
3
#include "patterns.h"
4
-#include "secrets.h"
+//#include "secrets.h"
5
6
#include <WebServer.h>
7
#include <WiFiClient.h>
@@ -73,11 +73,6 @@ void setup()
73
delay(5000);
74
dma_display->fillScreenRGB888(0, 0, 50);
75
76
- prefs.putString("SPOTIFY_ID", SPOTIFY_CLIENT_ID);
77
- prefs.putString("SPOTIFY_SECRET", SPOTIFY_CLIENT_SECRET);
78
- prefs.putString("HW", "v0.0.1");
79
- prefs.putString("SER", "003");
80
-
81
prefs.getString("SPOTIFY_ID").toCharArray(spotifyID,33);
82
prefs.getString("SPOTIFY_SECRET").toCharArray(spotifySecret,33);
83
spotify.lateInit(spotifyID, spotifySecret ,prefs.getString("SPOTIFY_TOKEN").c_str());
0 commit comments