Move mqtt user and pass to secrets.h.

This commit is contained in:
Kenwood 2021-04-26 16:49:12 -04:00
parent 76260212d2
commit 4be7876cce
2 changed files with 5 additions and 2 deletions

View File

@ -11,8 +11,8 @@
#define mqtt_server "mqtt.kitsunehosting.net"
#define mqtt_port 1883
#define mqtt_user "device"
#define mqtt_password "iamnotacrook"
#define mqtt_user SECRET_MQTT_USER
#define mqtt_password SECRET_MQTT_PASS
#define in_topic "/testing/in"
#define out_topic "/testing/out"

View File

@ -1,2 +1,5 @@
#define SECRET_SSID "secret_ssid"
#define SECRET_PASS ""Ah ah ah, you didn't say the magic word.""
#define SECRET_MQTT_USER "mqtt_user"
#define SECRET_MQTT_PASS "mqtt_pass"