Hydra
bc0a0a0eda
OMNIBUSF3 - disable TELEMETRY_HOTT due to flash size.
2017-03-19 10:40:28 +00:00
Hydra
b473ebf0d0
CF/BF - reduce flash usage by allowing blackbox that match other strings
...
to
be-duplicated by the linker.
2017-03-19 10:40:27 +00:00
Hydra
31dc531ca0
CF/BF - add cli diff support for voltage and current sensors.
2017-03-19 10:40:26 +00:00
Hydra
4554019c52
CF/BF - fix naming of currentMeterVirtualState_t
2017-03-19 10:40:25 +00:00
Hydra
abb6eb5b54
CF/BF - remove dependency on scheduler from battery.c by using local state.
2017-03-19 10:40:24 +00:00
Hydra
8e6c7fb9e3
CF/BF - remove the " " character in front of "LAND NOW" and replace with an
...
offset variable.
Code size is identical on SPRacingF3NEO.
2017-03-19 10:40:23 +00:00
Hydra
709cd9f8df
CF/BF - reduce code size by changing dependencies in battery.c and removing two
...
functions from fc_tasks.c
I don't like the dependency changes, but I'm not overly concerned by
them.
2017-03-19 10:40:22 +00:00
Hydra
486b5a1b9a
CF/BF - clarify voltage/sensors terminology.
2017-03-19 10:40:21 +00:00
Hydra
01732f4523
CF/BF - improve const correctness by declaring iBatSample as const.
2017-03-19 10:40:20 +00:00
Hydra
9482a12677
CF/BF - declare variable at point of first usage (code style)
2017-03-19 10:40:19 +00:00
Hydra
85b05d3483
CF/BF - rearrange the values in batteryConfig_t to reduce PG size.
2017-03-19 10:40:18 +00:00
Hydra
8145dfba0c
CF/BF - remove not operator to improve readability.
2017-03-19 10:40:17 +00:00
Hydra
c0c6450e61
CF/BF - use one task for each battery sensor.
2017-03-19 10:40:16 +00:00
Hydra
d331ceff0b
CF/BF - replace magic numbers for subframe lengths.
2017-03-19 10:40:15 +00:00
Hydra
382ef9de68
CF/BF - remove unneeded braces in MSP_ANALOG
2017-03-19 10:40:14 +00:00
Hydra
c59e7312c2
CF/BF - move target specific current sensor configuration for BETAFLIGHTF3 and
...
PIKOBLX. Since there is nothing else to configure in the corresponding
config.c files they were deleted too.
2017-03-19 10:40:13 +00:00
Hydra
1cd4227823
CF/BF - separate the virtual and adc current sensor configuration.
...
update the MSP configuration of current and voltage sensors to use IDs.
revert the i2s_bst changes, since TBS won't be updating their firmware
there is no point adding new features to it, we just need to keep it
compatible
2017-03-19 10:40:12 +00:00
Hydra
2f99749003
CF/BF - add support for reading all voltage and current meters via MSP.
...
Refactored current meter API and state, now it's more closely aligned
with the the voltage meter API.
2017-03-19 10:40:11 +00:00
Hydra
b0c49caa3d
CF/BF - update MSP_BATTERY_STATE based on feedback.
2017-03-19 10:40:10 +00:00
Hydra
249c707beb
CF/BF - rename adcConfig.currentMeter to adcConfig.current
2017-03-19 10:40:09 +00:00
Hydra
dbd819c85a
CF/BF - move adc current sensor default scale and offset to target.h instead of
...
target specific config.c
2017-03-19 10:40:08 +00:00
Hydra
f3e740c598
CF/BF - refactor voltage refresh/read api. update voltage/current msp code
...
msp code is still unfinished, but the plan is clearer now.
move some defaults from battery.h and allow targets to override them.
define ID's for all voltage and current sensors, the idea being a list
of ids wil lbe created for each build which will allow all the voltage
and current meters to be exposed via MSP.
2017-03-19 10:40:07 +00:00
Hydra
089042e136
CF/BF - fix OSD battery warning when there is no warning to display.
2017-03-19 10:40:06 +00:00
Hydra
15241b1955
CF/BF - cleanup notes regarding the design choices that were made regarding
...
MSP_VOLTAGE_METER_CONFIG/MSP_CURRENT_METER_CONFIG.
2017-03-19 10:40:05 +00:00
Hydra
c6d1148134
CF/BF - delete legacy multiwiiCurrentMeterOutput setting.
2017-03-19 10:40:04 +00:00
Hydra
067d3c0ac2
CF/BF - First cut of Current/Voltage/Battery cleanup.
...
many refactorings, bugs squished, concerns separated,
single-responsibility violations fixed and performance optimizations.
2017-03-19 10:40:03 +00:00
mikeller
b46e0fe46d
Added CL_RACINGF4 target, based on #2671 .
2017-03-19 10:40:02 +00:00
Cheng Lin
ae58a07f2a
add CL_RACINGF4 TARGET
2017-03-19 10:40:01 +00:00
mikeller
4af589f9fd
Fixed warning about unused parameter 'softserialEnabled'.
2017-03-19 10:40:00 +00:00
Dominic Clifton
3c885349c6
Merge pull request #2697 from betaflight/osd-improvements
...
Osd improvements
2017-03-19 10:37:50 +00:00
Hydra
e37944ba7b
CF/BF - OSD - Nudge craft name over by one character to align with
...
flight mode.
2017-03-19 10:36:24 +00:00
Hydra
4c517a56ea
CF/BF - OSD - Change the default OSD unit to metric since there are
...
missing calculations for GPS_speed, better to have everything in the
same units than a mix.
2017-03-19 10:36:23 +00:00
Hydra
636c194aea
CF/BF - OSD - Show symbol for GPS speed to better align with altitude
...
display on OSD. Name and extract the duplicated GPS_speed equation - in
CM/S to KM/H.
2017-03-19 10:36:22 +00:00
Hydra
c40c507f1b
CF/BF - OSD - Use m/s as the GPS speed unit, there is currently no
...
imperial conversion.
2017-03-19 10:36:21 +00:00
Hydra
c8888ad6bd
CF/BF - OSD - Show VTX channel/band hardware RTC6705 users (e.g.
...
SPRacingF3NEO/SINGULARITY)
2017-03-19 10:36:20 +00:00
Hydra
e1ac5b82df
CF/BF - OSD - use a strict mask to prevent invalid OSD positions values from
...
being created.
2017-03-19 10:36:19 +00:00
Hydra
d91987c287
CF/BF - OSD - Use a default OSD layout that has no overlapping elements.
...
Note: We give the users all the information, and let them turn off what they don't need. In testing it was found that if we hide the information some users will never know it's there.
2017-03-19 10:36:18 +00:00
Hydra
45252b5f84
CF/BF - OSD - Extract logo drawing code into static method.
2017-03-19 10:36:17 +00:00
Hydra
f509582e6d
CF/BF - OSD - Cleanup the splash screen.
2017-03-19 10:36:16 +00:00
Dominic Clifton
aead39c279
Merge pull request #2696 from betaflight/osd-fix
...
Give cell voltage element a default position
2017-03-19 10:32:48 +00:00
Florian Ragwitz
92f0f7ff69
Give cell voltage element a default position
...
This is a follow-up to a151d5092
, which got merged with a copy-and-paste
error. Sorry about that!
2017-03-19 10:32:13 +00:00
mikeller
0a37cf1b43
Added BEEROTORF4 target.
2017-03-19 14:59:55 +13:00
borisbstyle
db2e868675
Merge pull request #2682 from rafl/rafl/avg-cell-voltage
...
Add average cell voltage to OSD
2017-03-18 23:19:09 +01:00
borisbstyle
82c44f275c
Merge pull request #2684 from betaflight/fix-rccontrols-yaw-pg
...
fix missing yaw default when using PGs.
2017-03-18 23:18:44 +01:00
Hydra
0b531db549
fix missing yaw default when using PGs. this resulted in no yaw from RC
...
input.
2017-03-18 20:30:43 +00:00
Florian Ragwitz
a151d50929
Add average cell voltage to OSD
...
This can make it a little easier for some pilots to see where their
battery is at, especially if they move forth and back between different
cell counts a lot.
2017-03-18 11:57:30 -07:00
Martin Budden
60a41c7706
Merge pull request #2669 from DieHertz/more-cli-pg-fixes
...
More CLI PG fixes
2017-03-17 15:57:44 +00:00
DieHertz
98d2dc85c0
Reverted defaults for some CLI values
2017-03-17 03:07:56 +03:00
DieHertz
4ad8e36bc8
Disabled MSP on first UART unless USE_MSP_UART defined
2017-03-17 02:56:52 +03:00
DieHertz
e570c4aba8
Fixed CLI output for name and acc_lpf_hz
2017-03-17 02:56:51 +03:00