More AVR removal
This commit is contained in:
@@ -20,10 +20,7 @@
|
||||
|
||||
#include "opentx.h"
|
||||
|
||||
|
||||
|
||||
|
||||
NOINLINE void processFrskyTelemetryData(uint8_t data)
|
||||
void processFrskyTelemetryData(uint8_t data)
|
||||
{
|
||||
static uint8_t dataState = STATE_DATA_IDLE;
|
||||
|
||||
|
||||
@@ -259,9 +259,8 @@ enum AlarmLevel {
|
||||
#define BYTESTUFF 0x7d
|
||||
#define STUFF_MASK 0x20
|
||||
|
||||
#define frskySendAlarms()
|
||||
#define frskySendAlarms()
|
||||
|
||||
#if defined(FRSKY_HUB)
|
||||
typedef enum {
|
||||
TS_IDLE = 0, // waiting for 0x5e frame marker
|
||||
TS_DATA_ID, // waiting for dataID
|
||||
@@ -269,7 +268,6 @@ typedef enum {
|
||||
TS_DATA_HIGH, // waiting for data high byte
|
||||
TS_XOR = 0x80 // decode stuffed byte
|
||||
} TS_STATE;
|
||||
#endif
|
||||
|
||||
// FrSky D Telemetry Protocol
|
||||
void processHubPacket(uint8_t id, int16_t value);
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
|
||||
#include "opentx.h"
|
||||
|
||||
#if defined(FRSKY_HUB)
|
||||
void parseTelemHubByte(uint8_t byte)
|
||||
{
|
||||
static int8_t structPos;
|
||||
@@ -61,7 +60,6 @@ void parseTelemHubByte(uint8_t byte)
|
||||
state = TS_IDLE;
|
||||
processHubPacket(structPos, (byte << 8) + lowByte);
|
||||
}
|
||||
#endif // #if defined(FRSKY_HUB)
|
||||
|
||||
void frskyDProcessPacket(const uint8_t *packet)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user