diff --git a/src/main.cpp b/src/main.cpp index 75e0d67..0857a6b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -9,7 +9,9 @@ WiFiClient wifiClient; PubSubClient client(wifiClient); -HX711 scale(HX711_DT, HX711_SCK); +HX711 scale; +const int HX711_DT; +const int HX711_SCK; void reconnect() { // Loop until we're reconnected