Commit Graph

13515 Commits

Author SHA1 Message Date
mikeller 37d0d402c8 Added single colour mode to WS2811 driver for RAM savings. 2019-02-06 12:04:34 +13:00
Michael Keller 7393d5fdac
Merge pull request #7529 from jflyper/bfdev-stronger-USE_ACC
[REFACTOR] More application of USE_ACC
2019-02-06 10:08:49 +13:00
Michael Keller d32ee28373
Merge pull request #7528 from jflyper/bfdev-refactor-persistent-object-name
[PERSISTENT OBJECT] Refactor / rename boot loader request object
2019-02-06 10:08:12 +13:00
Bruce Luckcuck 42af168854 Optimize rc modes activation conditions processing
Analyze the rc modes activation conditions and only process configured entries. Previously the entire possible list was processed even though typically only a handful are configured.

Reduces the RX task processing time by about 25% (~44us to ~33us) with an average setup of 3 modes configured (F405, SBUS). Processing time savings will diminish as the user configures more modes. But typically far fewer than the maximum of 20 will be configured.
2019-02-05 16:05:16 -05:00
Michael Keller 8c78ac507b
Merge pull request #7530 from mikeller/fix_cleanup_ledstrip
Separated LED_STRIP parameter groups, separated out LED_STRIP status mode code.
2019-02-06 09:24:58 +13:00
Bruce Luckcuck f1e3c60dd9 Optimize MAX7456 driver invert and brightness functions
Eliminate unnecessary register writes by keeping previous state information and only writing the registers when the related settings actually change. Saves 17 register writes per `clearScreen()` call.

Also fixed character invert flag handling. Previously changes to the flag would only affect subsequently drawn characters and previous characters would remain unchanged. So for static OSD elements it produced an inconsistent state. Now all characters immediately reflect the current state of the invert flag.

Results in appoximately a 33% reduction in processing time for the OSD task at default settings (~31us reduced to ~21us on F405).
2019-02-05 12:02:34 -05:00
warhog 442b2feb60 move definition of SPEKTRUM_RSSI_LINK_LOSS_FADES to spektrum_rssi.c because it is not needed elsewhere 2019-02-05 10:29:39 +01:00
warhog 33c5e465a6 improve rssi handling on link loss for spektrum srxl 2019-02-05 10:05:14 +01:00
mikeller 5006387c59 Dang, forgot to push the changeset that reverts the test code. 2019-02-05 20:13:05 +13:00
brettcollis2212 db7b97d882
Change resource PINIO 1 from PB8 to B08
This was wrong pin description for 4.0 resource mapping
2019-02-04 22:45:39 +00:00
mikeller e121e1e92b Separated LED_STRIP parameter groups, separated out LED_STRIP status mode code. 2019-02-05 08:39:42 +13:00
jflyper 869e25d385 More USE_ACC application 2019-02-04 21:59:41 +09:00
jflyper cc0e689bb5 Add USE_ACC conditionals 2019-02-04 20:37:43 +09:00
jflyper 85cd4df2ea Refactor / rename PERSISTENT_OBJECT_BOOTLOADER_REQUEST to PERSISTENT_OBJECT_RESET_REASON 2019-02-04 19:06:19 +09:00
Michael Keller af84f9e99d
Merge pull request #7520 from jflyper/bfdev-srxl-datetime_t-should-inside-USE_RTC_TIME
[TELEMETRY SRXL] dateTime_t should be declared inside USE_RTC_TIME
2019-02-04 19:29:12 +13:00
Michael Keller 7411e10482
Merge pull request #7519 from mikeller/fix_cli_profile_setting
Fixed range detection for setting of PID / rate profiles in CLI.
2019-02-04 19:28:45 +13:00
Michael Keller 0752b62206
Merge pull request #7521 from mikeller/make_tests_fast_again
Separate out target specific tests into the 'test-all' goal.
2019-02-04 17:24:23 +13:00
mikeller 299d96fdc7 Added battery cell count based automatic PID profile switching. 2019-02-04 13:15:43 +13:00
Michael Keller 90e50c9f48
Merge pull request #7510 from etracer65/motor_output_limit_cms
Add CMS entry for motor_output_limit
2019-02-04 12:33:35 +13:00
Bruce Luckcuck 9d7af42e9f Add CMS entry for motor_output_limit
Will assist tuning while at the field. Added under PROFILE -> MISC PP.
2019-02-04 10:55:24 +13:00
Michael Keller e1b84ad204
Merge pull request #7515 from mikeller/fix_driver_layer_upreference
Fixed up reference in the driver layer.
2019-02-04 10:04:15 +13:00
Michael Keller 1a1464094f
Merge pull request #7511 from etracer65/reduce_airmode_activation_percent
Reduce airmode activation percent to 25
2019-02-04 08:00:02 +13:00
Michael Keller 398fd93b1d
Merge pull request #7513 from etracer65/airmode_enabled_by_default
Enable FEATURE_AIRMODE by default
2019-02-04 07:59:49 +13:00
Michael Keller 42ecc7e7c1
Merge pull request #7509 from mikeller/add_uint16_cli_support
Added support for full range uint16_t parameters in CLI.
2019-02-04 07:58:49 +13:00
Michael Keller 5094061567
Merge pull request #7518 from mikeller/feature_cuts
Removed features from AIORACERF3 and IMPULSERCF3 to make it fit flash.
2019-02-03 17:40:35 +13:00
mikeller 344bddf882 Make 'test-representative' work as expected. 2019-02-03 17:38:55 +13:00
mikeller b329f0d70b Separate out target specific tests into the 'test-all' goal. 2019-02-03 15:54:26 +13:00
jflyper bc2e13e021 dateTime_t should be declared inside USE_RTC_TIME 2019-02-03 11:47:36 +09:00
Michael Keller 493d0d0d8f
Merge pull request #7500 from mikeller/improve_crsf_flight_mode_reporting
Improved CRSF flight mode reporting.
2019-02-03 14:50:09 +13:00
mikeller f0f6f46eeb Fixed range detection for setting of PID / rate profiles in CLI. 2019-02-03 14:42:26 +13:00
mikeller 5b56086e11 Removed features from AIORACERF3 and IMPULSERCF3 to make it fit flash. 2019-02-03 14:31:38 +13:00
Michael Keller 5a1c0769e7
Merge pull request #7503 from etracer65/osd_profile_msp
Add MSP support for OSD profiles and OSD stick overlay
2019-02-03 14:05:32 +13:00
mikeller f5a979c737 Added support for full range uint16_t parameters in CLI. 2019-02-03 11:14:07 +13:00
mikeller 210e90249e Fixed up reference in the driver layer. 2019-02-03 11:04:34 +13:00
Michael Keller d833a51317
Merge pull request #7506 from etracer65/gyro_align_msp_compatibility
Update MSP gyro alignment support and preserve backwards compatibility
2019-02-03 10:42:26 +13:00
Michael Keller 67043e4ffc
Merge pull request #7508 from mikeller/fix_flash_overflow_2
Fixed flash overflow on IMPULSERCF3, RMDO, and SPRACINGF3.
2019-02-03 10:29:41 +13:00
Bruce Luckcuck 3db58c51bd Enable FEATURE_AIRMODE by default
It's long past time for this! The vast majority of airmode related support issues we encounter involve people forgetting to enable airmode.

For the tiny percentage that still (mistakenly) believe they don't want to enable airmode, they can disable if they desire.
2019-02-02 11:41:56 -05:00
Bruce Luckcuck 9fd82882e0 Reduce airmode activation percent to 25
In recognition of a more appropriate value based on the average hardware in use today.
2019-02-02 11:20:15 -05:00
Bruce Luckcuck 5c05e945df Add MSP support for OSD profiles and OSD stick overlay
Adds available profiles and currently selected OSD profile. If the `USE_OSD_PROFILES` feature is not available then the profile count and selected profile will be 1.

Adds OSD stick overlay radio mode. A zero value indicates OSD stick overlay is not available.
2019-02-02 09:40:48 -05:00
mikeller b296c5f6aa Fixed flash overflow on IMPULSERCF3, RMDO, and SPRACINGF3. 2019-02-02 23:00:41 +13:00
Michael Keller fd297b6b2c
Merge pull request #6924 from smoriarty21/pilot_name
Pilot Name
2019-02-02 21:20:08 +13:00
mikeller 4d8bf61d94 Improved CRSF flight mode reporting. 2019-02-02 21:15:32 +13:00
Bruce Luckcuck d66533fb5a Update MSP gyro alignment support and preserve backwards compatibility
Preserve gyro/acc alignment backwards compatibility for configurator versions unaware of the revised sensor alignment scheme.

Update MSP to add support for:
1. Flag to indicate whether `USE_MULTI_GYRO` is available
2. `gyro_to_use`
3. `gyro_1_sensor_align` and `gyro_2_sensor_align`.
2019-02-01 21:52:47 -05:00
Michael Keller b3b2517fab
Merge pull request #7489 from etracer65/ledstrip_beacon_improvements
Enhance ledstrip BEACON profile
2019-02-02 15:27:15 +13:00
Michael Keller d208cd0f8f
Merge pull request #7482 from mikeller/add_motor_output_limit
Added motor output limiting per profile.
2019-02-02 15:25:54 +13:00
Michael Keller 85ac92f42a
Merge pull request #7502 from mikeller/remove_deprecated_align
Removed leftover references to 'gyro_align', 'acc_align'.
2019-02-02 15:17:08 +13:00
mikeller f7134580f8 Fixed missing conditional, incremented parameter group version, added
config reset.
2019-02-01 07:53:09 +13:00
Michael Keller 5a510ce859
Merge pull request #7501 from betaflight/fix_flash_overflow
Fixed flash overflow on CHEBUZZF3, FURYF3, FURYF3OSD, LUX_RACE, RACEBASE, SIRINFPV, and SPRACINGF3MINI.
2019-02-01 07:44:48 +13:00
mikeller 21edada68b Removed leftover references to 'gyro_align', 'acc_align'. 2019-02-01 01:50:40 +13:00
Sean M 09fce7f1fa Adding display name to OSD and CLI 2019-02-01 01:11:40 +13:00