Now uses the external libopenui

This commit is contained in:
Bertrand Songis
2019-10-02 14:41:52 +02:00
parent 5b568cd40c
commit 3e2cb83991
250 changed files with 76326 additions and 11869 deletions
+6 -4
View File
@@ -22,12 +22,14 @@
#define _TELEMETRY_H_
#include "frsky.h"
#include "io/frsky_sport.h"
#include "crossfire.h"
#if defined(MULTIMODULE)
#include "spektrum.h"
#include "flysky_ibus.h"
#include "multi.h"
#endif
#include "myeeprom.h"
extern uint8_t telemetryStreaming; // >0 (true) == data is streaming in. 0 = no data detected for some time
@@ -78,11 +80,11 @@ PACK(struct CellValue
uint16_t value:15;
uint16_t state:1;
void set(uint16_t value)
void set(uint16_t newValue)
{
if (value > 50) {
this->value = value;
this->state = 1;
if (newValue > 50) {
value = value;
state = 1;
}
}
});