mirror of
https://gitlab.com/lander-team/lander-cpp.git
synced 2025-07-25 23:51:35 +00:00
Platformio stuff
This commit is contained in:
@@ -11,9 +11,9 @@
|
||||
#include "Vehicle.h"
|
||||
#include "sim.h"
|
||||
|
||||
#if defined(_WIN32) || defined(linux)
|
||||
#if defined(NATIVE) || defined(_WIN32)
|
||||
#include "native.h"
|
||||
#elif TEENSY
|
||||
#elif defined(TEENSY)
|
||||
#include "teensy.h"
|
||||
#endif
|
||||
|
||||
@@ -21,14 +21,14 @@ Vehicle State;
|
||||
Vehicle PrevState;
|
||||
outVector stateVector;
|
||||
|
||||
#if defined(_WIN32) || defined(linux)
|
||||
#if defined(NATIVE) || defined(_WIN32)
|
||||
void setup() {
|
||||
init_Vehicle(State);
|
||||
|
||||
// Determine when to burn
|
||||
burnStartTimeCalc(State);
|
||||
}
|
||||
#elif TEENSY
|
||||
#elif defined(TEENSY)
|
||||
void setup() {
|
||||
init_Vehicle(State);
|
||||
|
||||
|
Reference in New Issue
Block a user