1
0
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:
2021-11-04 02:58:49 +00:00
parent 0d3c0a9d1c
commit 5abdc75c81
7 changed files with 41 additions and 10 deletions

View File

@@ -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);