Skip to content

Commit d3e2c42

Browse files
committed
config CI
1 parent ed09395 commit d3e2c42

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

firmware/prusalink/src/main.cpp

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,19 @@
2828
#define SECRET_PASS WIFI_PASS_ENV
2929
#endif
3030

31+
#ifndef SECRET_PRUSA_API_KEY
32+
#define SECRET_PRUSA_API_KEY PRUSA_API_KEY
33+
#endif
34+
#ifndef CONFIG_IP
35+
#define CONFIG_IP PRINTER_IP
36+
#endif
37+
#ifndef CONFIG_NAME
38+
#define CONFIG_NAME CONFIG_NAME_STR
39+
#endif
40+
#ifndef CONFIG_PORT
41+
#define CONFIG_PORT 80
42+
#endif
43+
3144
#include "PrusaLinkAPI.h"
3245
#include <Adafruit_Protomatter.h>
3346
#include <esp_task_wdt.h>

0 commit comments

Comments
 (0)