Pass gamepad to all objects
This commit is contained in:
+1
-1
@@ -84,7 +84,7 @@ void setup() {
|
||||
Network::setIps();
|
||||
Network::setupMQTT();
|
||||
wifiIsActive = Network::connectWifi();
|
||||
driveManager = new DriveManager(&moveController, wifiIsActive);
|
||||
driveManager = new DriveManager(&moveController, gamepad, wifiIsActive);
|
||||
if (wifiIsActive) {
|
||||
|
||||
// const char* remoteHost = "www.google.com";
|
||||
|
||||
Reference in New Issue
Block a user