Compilation fixes
This commit is contained in:
@@ -921,7 +921,7 @@ getvalue_t convert8bitsTelemValue(uint8_t channel, ls_telemetry_value_t value)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(FRSKY)&& !defined(CPUARM)
|
#if defined(FRSKY)&& !defined(CPUARM)
|
||||||
FORCEINLINE void convertUnit(getvalue_t & val, uint8_t & unit)
|
void convertUnit(getvalue_t & val, uint8_t & unit)
|
||||||
{
|
{
|
||||||
if (IS_IMPERIAL_ENABLE()) {
|
if (IS_IMPERIAL_ENABLE()) {
|
||||||
if (unit == UNIT_TEMPERATURE) {
|
if (unit == UNIT_TEMPERATURE) {
|
||||||
|
|||||||
@@ -279,7 +279,7 @@ uint8_t trimDown(uint8_t idx)
|
|||||||
return trimHelper(~PIND, idx);
|
return trimHelper(~PIND, idx);
|
||||||
}
|
}
|
||||||
|
|
||||||
FORCEINLINE void readKeysAndTrims()
|
void readKeysAndTrims()
|
||||||
{
|
{
|
||||||
uint8_t enuk = KEY_MENU;
|
uint8_t enuk = KEY_MENU;
|
||||||
|
|
||||||
|
|||||||
@@ -240,7 +240,7 @@ uint8_t trimDown(uint8_t idx)
|
|||||||
return (in & pgm_read_byte(crossTrim+idx));
|
return (in & pgm_read_byte(crossTrim+idx));
|
||||||
}
|
}
|
||||||
|
|
||||||
FORCEINLINE void readKeysAndTrims()
|
void readKeysAndTrims()
|
||||||
{
|
{
|
||||||
uint8_t enuk = KEY_MENU;
|
uint8_t enuk = KEY_MENU;
|
||||||
|
|
||||||
|
|||||||
@@ -165,7 +165,7 @@ uint8_t trimDown(uint8_t idx)
|
|||||||
return (in & pgm_read_byte(crossTrim+idx));
|
return (in & pgm_read_byte(crossTrim+idx));
|
||||||
}
|
}
|
||||||
|
|
||||||
FORCEINLINE void readKeysAndTrims()
|
void readKeysAndTrims()
|
||||||
{
|
{
|
||||||
uint8_t enuk = KEY_MENU;
|
uint8_t enuk = KEY_MENU;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user