Skip to content

Commit 92ff155

Browse files
committed
Fix secrets
1 parent 71f9eea commit 92ff155

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/main.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "config.h"
22
#include "cube.h"
33
#include "patterns.h"
4-
#include "secrets.h"
4+
//#include "secrets.h"
55

66
#include <WebServer.h>
77
#include <WiFiClient.h>
@@ -73,11 +73,6 @@ void setup()
7373
delay(5000);
7474
dma_display->fillScreenRGB888(0, 0, 50);
7575

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-
8176
prefs.getString("SPOTIFY_ID").toCharArray(spotifyID,33);
8277
prefs.getString("SPOTIFY_SECRET").toCharArray(spotifySecret,33);
8378
spotify.lateInit(spotifyID, spotifySecret ,prefs.getString("SPOTIFY_TOKEN").c_str());

0 commit comments

Comments
 (0)