1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 04:45:24 +03:00
Commit graph

765 commits

Author SHA1 Message Date
Michael Keller
2101326a1d
Merge pull request #9619 from mikeller/add_motor_protocol_disabled
Added 'disabled' motor protocol and made it the default.
2020-04-11 12:41:18 +12:00
mikeller
489156602f Fixed unnecessarily long startup time due to gyro detection. 2020-04-07 22:20:04 +12:00
mikeller
d1ac12eccd Added 'disabled' motor protocol and made it the default. 2020-04-01 20:33:29 +13:00
mikeller
d2605975a1 Improved CLI error messages. 2020-03-23 15:18:51 +13:00
Michael Keller
ed6175b22c
Merge pull request #9597 from etracer65/iterm_windup_yaw_only
Change iterm_windup to only apply to yaw
2020-03-17 22:05:02 +13:00
Michael Keller
01f0095296
Merge pull request #9590 from mikeller/clean_up_scheduler
Cleaned up the scheduler.
2020-03-16 18:02:36 +13:00
mikeller
db4bd1f186 Cleaned up the scheduler. 2020-03-16 08:35:58 +13:00
Bruce Luckcuck
e76fd50421 Change iterm_windup to only apply to yaw
Except for when Launch Control is active - then apply to all axes.
2020-03-15 13:03:02 -04:00
Michael Keller
ea4f30c3ac
Revert "apply iterm_windup to yaw only" 2020-03-16 02:00:50 +13:00
Michael Keller
05c90001ee
Merge pull request #9580 from etracer65/cms_setup_popup
CMS dynamic setup popup menu
2020-03-15 14:14:28 +13:00
Michael Keller
04d260d620
Merge pull request #9569 from ctzsnooze/iterm-windup-setting-yaw-only
apply iterm_windup to yaw only
2020-03-15 13:52:18 +13:00
mikeller
53ba871a34 Fixed unit tests. 2020-03-14 10:19:33 +13:00
Bruce Luckcuck
ad0e7154a7 Split initialization from gyro.c for flash savings
Move low performance requirements initialization code into gyro_init.c and optimize that for size.
2020-03-13 10:08:11 -04:00
Bruce Luckcuck
265d6dde2b CMS dynamic setup popup menu
Adds a dynamically constructed menu that will appear before the main menu when the user enters CMS if there are any outstanding setup items to complete. Currently only includes entry to calibrate the ACC if required, but provides a framework for other setup reminders as needed. The user can choose to exit this menu without remedying the problems, but the menu will reappear when they next enter CMS. If there are no required setup items then the menu will be skipped and the user will go straight to the main menu.
2020-03-12 11:45:44 -04:00
mikeller
d13e83b91b Cleaned up the RX handler some. 2020-03-10 00:55:52 +13:00
mikeller
dc5671f34c Added protocol level RX frame rate measurement for FrSky FPort. 2020-03-06 09:35:00 +13:00
Michael Keller
c984107291
Merge pull request #9482 from ctzsnooze/Revert-iTerm-Relax
Restore proper behaviour of iterm_relax_cutoff in setpoint mode
2020-02-17 08:11:26 +13:00
Michael Keller
b96649ef76
Merge pull request #9481 from phobos-/nfe-racemode
NFE Race Mode
2020-02-17 08:08:59 +13:00
phobos-
8ce268d5f1 Implemented NFE Race Mode 2020-02-16 13:46:08 +01:00
mikeller
bc4701aebf Simplified the calculations, fixed tests. 2020-02-16 10:34:31 +13:00
mikeller
214d378e82 Detect revisions of the STM32H743. 2020-02-15 12:35:57 +13:00
AlessandroAU
925101cdb2 add crsf rf_mode parameter to osd display
make osdRFmode = 0 default

changes as requested

fixed formatting and unittests

remove 3.41 scaling on crsf LQ and simply osd drawing function

Update rx.c

changed loop to only go to 99 instead of 300
2020-02-13 02:52:18 +10:00
Michael Keller
19fa0f7c23
Merge pull request #9449 from etracer65/blackbox_32k_cleanup
Blackbox 32K code cleanup
2020-02-06 17:07:26 +13:00
Bruce Luckcuck
f29440957d Blackbox 32K code cleanup
Cleaning up some missed 32K specific code.
2020-02-04 18:30:30 -05:00
Bruce Luckcuck
f584780944 Gyro native rate sampling, filtering, and scheduler restructuring 2020-02-04 18:19:35 -05:00
mikeller
ab025b76a8 Fixed missing spaces after 'if'. 2020-01-26 13:16:01 +13:00
Bruce Luckcuck
1b5f553d2e Fix tasks check function max time not being reset along with other stats
Each time the `tasks` CLI command is executed the task stats are reset to allow the max and average stats to represent the data since the last `tasks` command. However the task check function stats were not being reset so the "max" would represent the maximum value since boot.
2020-01-21 15:09:20 -05:00
Michael Keller
69a3a4ac08
Merge pull request #9315 from hydra/bf-log-disarm-reason
Log disarm reason.
2020-01-17 19:30:37 +13:00
Dominic Clifton
2fead0aedf Log disarm reason. 2020-01-16 20:16:11 +01:00
Michael Keller
54c8477b4d
Merge pull request #9359 from mikeller/add_osd_to_status
Added OSD status to CLI 'status' output.
2020-01-16 12:54:11 +13:00
Michael Keller
099e0a6064 Added OSD status to CLI 'status' output. 2020-01-15 23:32:38 +13:00
Michael Keller
2f78b3189c
Merge pull request #9317 from mikeller/make_unit_tests_more_comprehensive
Changed 'ASSERT_' in unit tests to 'EXPECT_' for more comprehensive failure reporting.
2020-01-15 13:15:15 +13:00
Michael Keller
924fd3414f
Merge pull request #9319 from mikeller/fix_osd_tests_for_real
Removed wonkiness and interdependencies from OSD unit tests.
2020-01-14 12:58:40 +13:00
Alberto García Hierro
65f84f2c86 [MSP] Correctly report the configured and active OSD type
- Tell the OSD driver the type of displayPort, so it can be retrieved
later.
- Use OSD driver code instead of device specific code to handle
MSP_OSD_CONFIG response while minimizing driver specific code.
- Add flag for signaling the use of FrSky OSD (bit 3).
- Rename OSD_FLAGS_MAX7456_DETECTED to OSD_FLAGS_OSD_DEVICE_DETECTED.
Since we only support one OSD device type at a time, we can use the
same bit to signal wether the hardware has been detected.
2020-01-04 12:35:09 +00:00
Michael Keller
df778d6ba1 Removed wonkiness and interdependencies from OSD unit tests. 2019-12-27 16:57:38 +13:00
Michael Keller
71661acde2 Changed 'ASSERT_' in unit tests to 'EXPECT_' for more comprehensive failure reporting. 2019-12-27 14:30:24 +13:00
Michael Keller
dcdcc9bd5e
Unify rx spi exti handling (#9268)
Unify rx spi exti handling
2019-12-26 12:50:53 +13:00
mikeller
0dcdeaa105 Unified the handling of the EXTI pin for SPI RX. 2019-12-24 16:05:36 +13:00
Michael Keller
4c58889915
Move OSD elements into their own parameter group (#9278)
Move OSD elements into their own parameter group
2019-12-11 09:37:28 +13:00
Bruce Luckcuck
afeb88850f Move OSD elements into their own parameter group
Separates the OSD elements position/visible/profile flags from the `osdConfig` PG and moves them to a new `osdElementConfig` PG. Allows new elements to be added without having to constantly update the PG version for `osdConfig`.
2019-12-09 19:13:08 -05:00
mikeller
5f3d56cd2c Renaming 'featureEnable' / 'featureDisable' to make their use a bit more obvious. 2019-12-09 23:48:59 +13:00
Michael Keller
9425831756
Refactored 'WAS_EVER_ARMED' arming flag to be only enabled on f… (#9248)
Refactored 'WAS_EVER_ARMED' arming flag to be only enabled on first disarm.
2019-12-01 15:14:02 +13:00
mikeller
c7b16d2f3d Fixed seat-of-pants OSD unit tests. 2019-12-01 13:09:18 +13:00
Alberto García Hierro
37e66b3dda Add support for FrSky OSD
- Add displayWriteFontCharacter() for font writing, removing all max7456
specific code.
- Add displayIsReady() for asynchronous display initialization
- Add displayBeginTransaction()/displayCommitTransaction() for display
transactions, which allow performing complex drawing operations without
flickering
- Add displayGetCanvas(), which retrieves the canvas associated with a
display (if it has it)
- Add canvas implementation for pixel based access for a display
- Add FrSkyOSD driver and displayPort driver
- Enable FrSkyOSD driver for targets with flash > 256
- Rename max7456_symbols.h to osd_symbols.h
2019-11-30 22:06:36 +00:00
Michael Keller
c8b5edb415
Moved configuration validation into 'config.c'. (#9219)
Moved configuration validation into 'config.c'.
2019-11-29 12:47:29 +13:00
mikeller
438a801eb8 Fixed 'cast-function-type' warnings, reworked CMS function pointer juggle. 2019-11-29 03:45:27 +13:00
Michael Keller
140bb22b88 Removed 'checkRedirect' and references to it. 2019-11-26 19:14:47 +13:00
jflyper
2e84b0c442 Add support for character attribute rich displayport 2019-11-25 10:43:29 +09:00
mikeller
99f77fa88d Moved configuration validation into 'config.c'. 2019-11-24 21:19:26 +13:00
Michael Keller
b137bbe80c
Merge pull request #9214 from etracer65/sbus_crsf_micros_interrupt
Update SBUS and CRSF to use microsISR() in the interrupt handler
2019-11-24 13:03:02 +13:00