[AVR] Flash usage on 9X now almost equals to 2.1 release

This commit is contained in:
Bertrand Songis
2016-04-10 12:50:43 +02:00
parent 9e0a26c51c
commit dd2ff29601
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -922,7 +922,7 @@ getvalue_t convert8bitsTelemValue(uint8_t channel, ls_telemetry_value_t value)
#endif
#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 (unit == UNIT_TEMPERATURE) {
+6
View File
@@ -1,5 +1,11 @@
#!/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 sys
import subprocess