travis ci testing and minor cleanup
This commit is contained in:
parent
d68b445d27
commit
90f409e723
|
|
@ -17,6 +17,7 @@ before_install:
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- arduino --pref "boardsmanager.additional.urls=https://dl.espressif.com/dl/package_esp32_index.json" --save-prefs
|
- arduino --pref "boardsmanager.additional.urls=https://dl.espressif.com/dl/package_esp32_index.json" --save-prefs
|
||||||
|
- arduino --pref "custom_FlashFreq=ttgo-lora32-v1_80" --save-prefs
|
||||||
- arduino --install-boards esp32:esp32 --save-prefs
|
- arduino --install-boards esp32:esp32 --save-prefs
|
||||||
- ln -s $PWD/libraries/SondeLib /usr/local/share/arduino/libraries/SondeLib
|
- ln -s $PWD/libraries/SondeLib /usr/local/share/arduino/libraries/SondeLib
|
||||||
- ln -s $PWD/libraries/SX1278FSK /usr/local/share/arduino/libraries/SX1278FSK
|
- ln -s $PWD/libraries/SX1278FSK /usr/local/share/arduino/libraries/SX1278FSK
|
||||||
|
|
|
||||||
|
|
@ -147,7 +147,7 @@ int DFM::hamming(uint8_t *ham, int L, uint8_t *sym) {
|
||||||
DFM::DFM() {
|
DFM::DFM() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void DFM::printRaw(char *label, int len, int ret, uint8_t *data)
|
void DFM::printRaw(const char *label, int len, int ret, const uint8_t *data)
|
||||||
{
|
{
|
||||||
Serial.print(label); Serial.print("(");
|
Serial.print(label); Serial.print("(");
|
||||||
Serial.print(ret);
|
Serial.print(ret);
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>;
|
#include <stdlib.h>
|
||||||
//#include <arpa/inet.h>
|
//#include <arpa/inet.h>
|
||||||
//#include <sys/socket.h>
|
//#include <sys/socket.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
enum IDTYPE { ID_DFMDXL, ID_DFMGRAW, ID_DFMAUTO };
|
enum IDTYPE { ID_DFMDXL, ID_DFMGRAW, ID_DFMAUTO };
|
||||||
|
|
||||||
typedef struct st_feedinfo {
|
struct st_feedinfo {
|
||||||
bool active;
|
bool active;
|
||||||
int type; // 0:UDP(axudp), 1:TCP(aprs.fi)
|
int type; // 0:UDP(axudp), 1:TCP(aprs.fi)
|
||||||
char host[64];
|
char host[64];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue