[AVR] Flash usage on 9X now almost equals to 2.1 release
This commit is contained in:
@@ -922,7 +922,7 @@ getvalue_t convert8bitsTelemValue(uint8_t channel, ls_telemetry_value_t value)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(FRSKY)&& !defined(CPUARM)
|
#if defined(FRSKY)&& !defined(CPUARM)
|
||||||
void convertUnit(getvalue_t & val, uint8_t & unit)
|
FORCEINLINE void convertUnit(getvalue_t & val, uint8_t & unit)
|
||||||
{
|
{
|
||||||
if (IS_IMPERIAL_ENABLE()) {
|
if (IS_IMPERIAL_ENABLE()) {
|
||||||
if (unit == UNIT_TEMPERATURE) {
|
if (unit == UNIT_TEMPERATURE) {
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
|
# The commands used to compare 2.2 flash usage
|
||||||
|
# on 2.1 release: make PCB=9X EXT=FRSKY VOICE=YES AUDIO=YES AUTOSOURCE=YES AUTOSWITCH=YES HELI=YES TEMPLATES=YES GAUGES=NO
|
||||||
|
# => 64818 (program) + 3236 (data)
|
||||||
|
# on 2.2 release: cmake -DPCB=9X -DEXT=FRSKY -DAUDIO=YES -DVOICE=YES -DHELI=YES -DTEMPLATES=YES ~/git/opentx
|
||||||
|
# => 64832 (program) + 3236 (data)
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|||||||
Reference in New Issue
Block a user