1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-18 22:05:17 +03:00
Commit graph

800 commits

Author SHA1 Message Date
Martin Budden
12583dc0d7 Unit test makefile fix 2017-09-02 08:53:38 +01:00
Martin Budden
604b661a62 Rationalised CRSF constants 2017-08-31 17:02:49 +01:00
Martin Budden
e6bbce53e6 Improved testability 2017-08-31 13:37:38 +01:00
Martin Budden
8c20811792 Added slew filter 2017-08-28 08:12:02 +01:00
Martin Budden
2f0a678cbe Merge pull request #3920 from mikeller/inhibit_dshot_motor_beeping_when_motors_running
Inhibit Dshot motor beeping while motors are running (armed or motor test).
2017-08-25 07:33:07 +01:00
mikeller
c8f528c0af Inhibit Dshot motor beeping while motors are running (armed or motor test). 2017-08-25 09:16:43 +12:00
Steffen Windoffer
03aa31acdd remove not needed whitespaces 2017-08-24 11:33:39 +02:00
Dan Nixon
20f7c77089 Add BATT NOT FULL warning to OSD
Shows BATT NOT FULL when the connected battery has an everage cell
voltage of less than 0.2v lower then vbatmaxcellvoltage (when the craft
has yet to be armed)

Intended as a reminder to make sure pilots fly with a fresh battery

Adds an additional configuration option for the voltage at which a cell
is "full"
2017-08-18 08:07:20 +01:00
Martin Budden
387b52a1ae Merge pull request #3831 from bkeinert/beeper_patch
Beeper patch
2017-08-14 18:29:45 +01:00
Michael Keller
8995dcec0e Merge pull request #3826 from DanNixon/arming_conditions
Safer arming condition checks
2017-08-14 23:03:42 +12:00
bkeinert
5d258d11f2 sync order of beeperTable and beeperMode_e enum
add beeperModeMaskForTableIndex function and use it in CLI
add change to unittest to make it compile
2017-08-14 01:12:23 +02:00
Dan Nixon
ad540d8ad8 Add prevention for turning radio on at any time with arm switch on 2017-08-13 16:05:48 +01:00
Martin Budden
679258932d Merge pull request #3817 from martinbudden/bf_crc_additions
Additional crc functions
2017-08-13 14:18:44 +01:00
Dan Nixon
0c0483d020 Add configurable boot grace time
This guards against the case when the RX takes longer to obtain a valid
link than the gyro takes to calibrate (previously this delay is all that
stopped immediate arming).
2017-08-13 13:17:25 +01:00
Dan Nixon
fd51cda9eb Test new arming prevention functionality 2017-08-13 12:42:29 +01:00
Dan Nixon
f283d2460a Test existing functionality 2017-08-13 12:42:29 +01:00
Martin Budden
4ba8669cc3 Additional crc functions 2017-08-13 12:02:46 +01:00
Martin Budden
a0f48f74c1 Merge pull request #3615 from DanNixon/osd_battery_current_formatting
Improve formatting of numerical OSD elements
2017-08-12 07:24:44 +01:00
Dan Nixon
e66f849a22 Also ensure default arm channel position is safe when range is high 2017-07-31 16:30:36 +01:00
Martin Budden
9f969bb48b Merge pull request #3685 from DanNixon/rx_unittest_fix
Fix RX unit test
2017-07-31 06:16:42 +01:00
jflyper
b81d85a8e9 Merge pull request #3586 from jflyper/bfdev-avoid-stick-commands-while-in-cms
CMS Remove left stick constraints
2017-07-31 10:11:30 +09:00
Dan Nixon
fa39970cda Fix RX unit test 2017-07-30 21:39:19 +01:00
Dan Nixon
312a7d73b9 Disable arming as soon as an RX link is lost 2017-07-30 15:56:23 +01:00
jflyper
4a2ef89ea8 Revert left stick constraints and introduce context 2017-07-30 19:12:22 +09:00
Martin Budden
b1ec3d04f2 Merge pull request #3660 from martinbudden/bf_uart_tidy
Tidied UART enum definitions
2017-07-29 15:15:16 +01:00
Martin Budden
47a0f15b7d Merge pull request #3659 from martinbudden/bf_blackbox_tidy
Blackbox header and function name tidy
2017-07-29 14:48:41 +01:00
Martin Budden
0118af7eb3 Blackbox header and function name tidy 2017-07-29 13:33:19 +01:00
Martin Budden
944fe0761c Tidied UART enum definitions 2017-07-29 13:30:37 +01:00
Martin Budden
471e01210b Merge pull request #3621 from DieHertz/dataflash-read-compressed
Compression for MSP_DATAFLASH_READ
2017-07-29 13:18:29 +01:00
DieHertz
b0cc2b670d Implemented streaming Huffman compression in chunks of 256 bytes 2017-07-27 16:04:38 +03:00
Martin Budden
213d9d976d Use Huffman compression for blackbox data transfer
Conflicts:
	src/test/Makefile
2017-07-27 16:04:37 +03:00
Dan Nixon
28fb930c1f Improve formatting of some numerical OSD elements
- Moved units to the right of the number
- Added adequate left padding
2017-07-26 12:57:12 +01:00
Dan Nixon
ad334113e2 Add test for existing OSD element functionality 2017-07-26 12:34:06 +01:00
blckmn
7a5d1d9b8e Moving boardIdentifier out of config header and into systemConfig (for generic targets) 2017-07-25 09:05:12 +10:00
Martin Budden
20748dcf9a Merge pull request #3000 from martinbudden/bf_blackbox_iterations
Better handling of I-frame and P-frame iterations
2017-07-20 19:42:33 +01:00
Martin Budden
cf9d20bede Merge pull request #3413 from martinbudden/bf_gyro_spi_tidy
SPI tidy. Rename SPI functions. Rationalise parameter order.
2017-07-20 19:31:57 +01:00
Martin Budden
2fd20c2bd9 Rename SPI functions. Rationalise parameter order. 2017-07-20 16:22:59 +01:00
Martin Budden
6943fb8e56 Split MSP box code into separate module 2017-07-20 13:33:34 +01:00
jflyper
f2d313e849 Final touch-ups 2017-07-18 22:01:30 +09:00
jflyper
6b4b880c85 Added stubs for tests 2017-07-17 09:29:28 +09:00
jflyper
ba553a3036 Added defines to test/Makefile 2017-07-17 03:52:50 +09:00
fishpepper
544cad10df cleanup and style cosmetics 2017-07-15 20:30:55 +02:00
fishpepper
8c8c9f5e7a move unittest specific stuff to unittest 2017-07-14 21:23:44 +02:00
fishpepper
a38eb4350d added unittest for cli arrays 2017-07-14 19:24:04 +02:00
Michael Keller
ea5a7cd998 Merge pull request #3373 from DanNixon/generic_osd_timers
Generic OSD timers (plus high precision timer)
2017-07-08 10:21:39 +12:00
mikeller
67acc6c7ec Added beeps to indicate the reason for arming being disabled. 2017-07-04 01:38:04 +12:00
Dan Nixon
78d28b48f8 Generic OSD timers
- Two configurable timer elements/stat items
- High precision timer (for race timing)
- Add array length checking to OSD items in MSP
2017-07-03 12:30:49 +01:00
Dan Nixon
dbbe79a9f4 Add arming disabled reasons to OSD 2017-07-02 17:29:21 +01:00
mikeller
31df82db2d Reworked arming conditions. 2017-06-30 08:43:46 +12:00
Martin Budden
783dddae73 Fix unit test 2017-06-29 19:28:22 +01:00