use okapi controller
This commit is contained in:
parent
55a29d785e
commit
ed00616eed
@ -3,5 +3,5 @@
|
|||||||
#include "lemlib/api.hpp"
|
#include "lemlib/api.hpp"
|
||||||
|
|
||||||
namespace globals {
|
namespace globals {
|
||||||
extern pros::Controller controller;
|
extern Controller controller;
|
||||||
}
|
}
|
||||||
@ -53,7 +53,7 @@
|
|||||||
*/
|
*/
|
||||||
// using namespace pros;
|
// using namespace pros;
|
||||||
// using namespace pros::literals;
|
// using namespace pros::literals;
|
||||||
// using namespace okapi;
|
using namespace okapi;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Prototypes for the competition control tasks are redefined here to ensure
|
* Prototypes for the competition control tasks are redefined here to ensure
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
#include "globals.hpp"
|
#include "globals.hpp"
|
||||||
|
|
||||||
namespace globals {
|
namespace globals {
|
||||||
pros::Controller controller(pros::E_CONTROLLER_MASTER);
|
Controller controller(ControllerId::master);
|
||||||
|
|
||||||
// Chassis
|
// Chassis
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user