kopia lustrzana https://github.com/markqvist/LibAPRS
va7ta ADC Sharing and Data Error Flags
rodzic
86d93fb860
commit
8120ef5b5b
|
@ -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;
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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));
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue