fix gamepad access pointer
This commit is contained in:
+1
-1
@@ -84,7 +84,6 @@ void setup() {
|
||||
Network::setIps();
|
||||
Network::setupMQTT();
|
||||
wifiIsActive = Network::connectWifi();
|
||||
driveManager = new DriveManager(&moveController, gamepad, wifiIsActive);
|
||||
if (wifiIsActive) {
|
||||
|
||||
// const char* remoteHost = "www.google.com";
|
||||
@@ -111,6 +110,7 @@ void setup() {
|
||||
std::cout << "All actions from the main program run on Core -> " << xPortGetCoreID() << std::endl;
|
||||
|
||||
gamepad = new Ps3Controller;
|
||||
driveManager = new DriveManager(&moveController, gamepad, wifiIsActive);
|
||||
configureController();
|
||||
|
||||
outputBuf->activateMqtt(false);
|
||||
|
||||
Reference in New Issue
Block a user