mirror of
https://github.com/suchmememanyskill/CYD-Klipper.git
synced 2026-03-21 13:43:25 +00:00
Connect to Klipper (although websockets are broken :( )
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#ifndef _GLOBAL_CONFIG_INIT
|
||||
#define _GLOBAL_CONFIG_INIT
|
||||
|
||||
#define CONFIG_VERSION 1
|
||||
#define CONFIG_VERSION 80
|
||||
|
||||
typedef struct _GLOBAL_CONFIG {
|
||||
unsigned char version;
|
||||
@@ -10,6 +10,7 @@ typedef struct _GLOBAL_CONFIG {
|
||||
struct {
|
||||
bool screenCalibrated : 1;
|
||||
bool wifiConfigured : 1;
|
||||
bool ipConfigured : 1;
|
||||
};
|
||||
};
|
||||
float screenCalXOffset;
|
||||
@@ -19,6 +20,9 @@ typedef struct _GLOBAL_CONFIG {
|
||||
|
||||
char wifiSSID[32];
|
||||
char wifiPassword[64];
|
||||
|
||||
char klipperHost[64];
|
||||
unsigned short klipperPort;
|
||||
} GLOBAL_CONFIG;
|
||||
|
||||
extern GLOBAL_CONFIG global_config;
|
||||
|
||||
Reference in New Issue
Block a user