minor changes needed to build with platformio

I prefer platformio over the arduino IDE because
it automatically does library dependencies and
has lots of other goodness.

To build and install to a connected device just do:

pio run
This commit is contained in:
geeksville
2020-01-17 15:15:00 -08:00
parent 4a1f360697
commit 1e9fedcbd7
3 changed files with 37 additions and 1 deletions

View File

@ -51,6 +51,8 @@ RTC_DATA_ATTR uint32_t count = 0;
// Application
// -----------------------------------------------------------------------------
void buildPacket(uint8_t txBuffer[]); // needed for platformio
void send() {
char buffer[40];
snprintf(buffer, sizeof(buffer), "Latitude: %10.6f\n", gps_latitude());