va7ta ADC Sharing and Data Error Flags

pull/10/head
va7ta 2018-02-07 22:25:51 -08:00
rodzic 86d93fb860
commit 8120ef5b5b
6 zmienionych plików z 6 dodań i 6 usunięć

Wyświetl plik

@ -215,7 +215,7 @@ static bool hdlcParse(Hdlc *hdlc, bool bit, FIFOBuffer *fifo) {
ret = false;
hdlc->receiving = false;
LED_RX_OFF();
fullBfrErr=true;
fullBfrErr=true;
}

Wyświetl plik

@ -12,7 +12,7 @@
#define SIN_LEN 512
namespace AFSKADCINIT {
void AFSK_hw_init(void);
};
};
static const uint8_t sin_table[] PROGMEM =
{
128, 129, 131, 132, 134, 135, 137, 138, 140, 142, 143, 145, 146, 148, 149, 151,

Wyświetl plik

@ -15,7 +15,7 @@
extern int LibAPRS_vref;
extern bool LibAPRS_open_squelch;
bool CRC_Err=false;
bool CRC_Err=false;
void ax25_init(AX25Ctx *ctx, ax25_callback_t hook) {
memset(ctx, 0, sizeof(*ctx));

Wyświetl plik

@ -4,7 +4,7 @@
Afsk modem;
AX25Ctx AX25;
extern void aprs_msg_callback(struct AX25Msg *msg);
extern void aprs_msg_callback(struct AX25Msg *msg);
#define countof(a) sizeof(a)/sizeof(a[0])
int LibAPRS_vref = REF_3V3;

Wyświetl plik

@ -19,7 +19,7 @@ void APRS_setPath2(char *call, int ssid);
void APRS_setPreamble(unsigned long pre);
void APRS_setTail(unsigned long tail);
void APRS_useAlternateSymbolTable(bool use);
void APRS_useAlternateSymbolTable(bool use);
void APRS_setDataTypeID(uint8_t flag);
void APRS_setSymbol(char sym);

Wyświetl plik

@ -175,7 +175,7 @@ void processPacket() {
boolean whichExample = false;
void loop() {
/*
/*
* insert this statement immediately after using the ADC for
* other possible functions such as measuring a voltage from
* a sensor. This is needed to re-configure the ADC for AFSK