1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 22:35:23 +03:00
Commit graph

6459 commits

Author SHA1 Message Date
Petr Ledvina
7582cf86b4 Make SBufWriteString write string without terminating zero 2017-05-28 15:00:13 +02:00
Petr Ledvina
2eb36ed969 Improve box serialization
- active boxes use bitmask instead of array
- active box serialization is loop based instead of huge expression

Was included in
https://github.com/cleanflight/cleanflight/pull/2075/commits, but never
ported to BF and eventually lost

Conflicts:
	src/main/fc/fc_msp.c
2017-05-28 14:59:46 +02:00
Petr Ledvina
5fc2b4a8ac IOGetByTag did not handle empty Tag correctly 2017-05-28 14:47:58 +02:00
Martin Budden
dc40954e60 Merge pull request #3163 from martinbudden/bf_remove_sprintf
Replace sprintf with tfp_sprintf
2017-05-28 13:40:02 +01:00
mikeller
e8af269862 Fixed CLI settings for OSD status page. 2017-05-29 00:14:02 +12:00
Michael Keller
c287e688b7 Merge pull request #3143 from mikeller/unify_frsky_ibus_voltage_setting
Unified 'frsky_vfas_cell_voltage' and 'ibus_report_cell_voltage' into 'report_cell_voltage'.
2017-05-28 23:35:01 +12:00
Michael Keller
d393746647 Merge pull request #3138 from mikeller/added_beeper_indication_to_led_warning
Added orange indication when beeper active to 'Warning' beeper mode.
2017-05-28 23:34:33 +12:00
Martin Budden
6c9ef6df21 Fix pragma poison sprintf compile errors 2017-05-28 12:09:27 +01:00
Martin Budden
a6ba19aa97 Poisoned sprintf and snprintf 2017-05-28 11:31:37 +01:00
Martin Budden
3a5010ea65 Replace sprintf with tfp_sprintf 2017-05-28 07:17:35 +01:00
Michael Jakob
c1052d1c4c Support for FuriousFPV FORTINI F4 2017-05-27 13:51:10 +02:00
Michael Keller
81b740fd44 Merge pull request #3151 from DrClaes/DrClaes-patch-2
Improved Throttle LED functionality
2017-05-27 20:54:12 +12:00
DrClaes
d22b32d969 Fixed whitespace 2017-05-27 10:38:57 +02:00
DrClaes
7566e41550 Fixed modulo math 2017-05-27 08:18:05 +02:00
DrClaes
be91983bb4 Made suggested changes to style and function
Style suggestions adopted.
Use centerPWM (average of max and min PWM) for readability.
No longer resets hOffset, means that other functions (battery and rssi, currently) which use this still add to the hue
2017-05-27 08:05:21 +02:00
Martin Budden
505e9f4b2b Fix in schedulerResetTaskStatistics 2017-05-27 06:32:44 +01:00
DrClaes
1d091c317c Adjusted throttle led behavior 2017-05-27 00:00:20 +02:00
jflyper
2d45189fe2 No more "pin-pair"
RX and TX can be assigned to ANY capable pins.
2017-05-27 02:55:13 +09:00
Dan Nixon
d95331323e Animate the battery symbols on OSD based on voltage 2017-05-26 17:15:19 +01:00
Martin Budden
f3502662b9 Merge pull request #3156 from martinbudden/bf_driver_time_header
Moved time functions out of system.h into time.h
2017-05-26 14:44:41 +01:00
Martin Budden
4820d5951e Merge pull request #3137 from DanNixon/osd_cleanup
OSD tidy
2017-05-26 14:40:13 +01:00
Martin Budden
23f158913e Moved time functions out of system.h into time.h 2017-05-26 14:03:28 +01:00
Dan Nixon
79a0f9738c Correct switch indentation in osd.c 2017-05-26 09:21:27 +01:00
jflyper
37607ce6b7 Add TARGET_IO_PORTG 2017-05-26 16:11:23 +09:00
DrClaes
255d781305 Improved Throttle LED functionality
Fades the LED smoothly from the previous color through the chosen color to the next color as throttle is advanced.
2017-05-25 22:36:42 +02:00
Michael Jakob
fe6642a7f9 Adding AlienFlightNG Whoop support
Some general AlienFlight target updates
2017-05-25 19:28:54 +02:00
jflyper
df83cb3f38 Protect non-CL_RACINGF4 targets from using PWM beeper 2017-05-25 02:33:06 +09:00
mikeller
0c568a3111 Unified 'frsky_vfas_cell_voltage' and 'ibus_report_cell_voltage' into 'report_cell_voltage'. 2017-05-25 02:00:26 +12:00
jflyper
6c5997ef9f Rebased on to master (conflict in Makefile) 2017-05-24 11:54:53 +09:00
jflyper
fdfe9e8af3 Configurable UART 2017-05-24 11:49:21 +09:00
Michael Keller
7f348b997e Added orange indication when beeper active to 'Warning' beeper mode. 2017-05-24 13:01:35 +12:00
Dan Nixon
36b1b581fa Further tidy up in osd.c 2017-05-23 18:17:56 +01:00
Dan Nixon
06dd634464 Reset the time since last armed counter just after stats screen display
This ensures that the time since last armed is zero when exiting the
stats display and returning to "main" OSD screen
2017-05-23 17:10:52 +01:00
Dan Nixon
4c47e2e972 Tidy formatting in osd.c 2017-05-23 17:07:56 +01:00
Dan Nixon
7b6dc1b005 Small fixes from #3133 2017-05-23 17:07:18 +01:00
borisbstyle
f4e4e45aa2 Merge pull request #3135 from mikeller/fix_convert_motor_to_external
Fixed inconsistency introduced by #2880.
2017-05-23 15:17:43 +02:00
borisbstyle
29917db6f2 Merge pull request #3133 from DanNixon/osd_stats
Allow customisation of the OSD stats screen
2017-05-23 14:07:19 +02:00
Dan Nixon
562ffbdbc4 Reduce flash usage in OSD stats screen 2017-05-23 12:48:41 +01:00
Dan Nixon
5f4a72ad5b Add MSP API features for OSD stat screen toggling 2017-05-23 12:44:55 +01:00
U-DESKTOP-12PPI61\boris.bozic
e6b49247f0 Merge branch 'master' of https://github.com/betaflight/betaflight 2017-05-23 13:31:15 +02:00
U-DESKTOP-12PPI61\boris.bozic
41d8455b53 Fix issue with no airmode and full throttle destabilisation 2017-05-23 13:18:42 +02:00
Michael Keller
468217c7e8 Merge pull request #3115 from ledvinap/fix-SITL
Fix SITL
2017-05-23 23:00:54 +12:00
Michael Keller
8a5a0a0543 Merge pull request #3127 from mikeller/added_esc_sensor_halfduplex_setting
Added 'esc_sensor_halfduplex' setting to enable KISSFC owners to use 'TLM' pads for ESC stelemetry lines.
2017-05-23 22:57:11 +12:00
Michael Keller
f6c224bc15 Merge pull request #3125 from mikeller/fix_build_error_quad_only_and_servos
Fixed build error if USE_QUAD_MIXER_ONLY and USE_SERVOS are defined.
2017-05-23 22:54:47 +12:00
Michael Keller
a1c2f79dcd Merge pull request #3113 from mikeller/reduce_ublox_firmware_size
Reduce firmware footprint of uBlox code.
2017-05-23 22:45:52 +12:00
Michael Keller
8438697955 Fixed inconsistency introducec by #2880. 2017-05-23 14:23:35 +12:00
Dan Nixon
d83f0ddf5e Add fly timers to stats, add armed time OSD elem.
Added:
- Fly time stat (total time armed)
- Armed time stat (time since last arming)
- Armed time OSD element (time since last arming)
2017-05-22 18:24:11 +01:00
Petr Ledvina
9c40903713 Fix spelling 2017-05-22 14:48:29 +02:00
Petr Ledvina
919f0caa6b Fix SITL on Cygwin + minor cleanup 2017-05-22 13:25:45 +02:00
U-DESKTOP-12PPI61\boris.bozic
dbdbd8724a Rename VGOODDHF4 to LUXF4OSD (agreed with target owner) 2017-05-22 10:24:30 +02:00