1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 12:25:20 +03:00
Commit graph

13790 commits

Author SHA1 Message Date
Michael Keller
2c739346c6
Merge pull request #7547 from mikeller/fix_led_extreme_cpu_load
Fixed initialisation problem with LED_STRIP.
2019-02-08 19:55:55 +13:00
Michael Keller
26c1177cdb
Merge pull request #7541 from mikeller/excise_use_acc
Applied 'USE_ACC' consistently.
2019-02-08 19:48:00 +13:00
Michael Keller
0149101a56
Merge pull request #7550 from fujin/cli-bogus-max-profile-count
CLI: Fix reference to 'MAX_PROFILE_COUNT'
2019-02-08 13:22:39 +13:00
mikeller
9f8cafbf8b Fixed initialisation problem with LED_STRIP. 2019-02-08 12:29:57 +13:00
AJ Christensen
9076310150 CLI: Fix reference to 'MAX_PROFILE_COUNT' 2019-02-08 12:13:46 +13:00
mikeller
35bc646692 Excised some more unused code after review. 2019-02-08 09:51:48 +13:00
mikeller
794ab1c65b Fix leftover debug code from #7529. 2019-02-08 09:51:48 +13:00
mikeller
b5908f5bab Applied 'USE_ACC' consistently. 2019-02-08 09:51:48 +13:00
Michael Keller
59ea4becb3
Merge pull request #7516 from mikeller/add_automatic_pid_profile_switching
Added battery cell count based automatic PID profile switching.
2019-02-08 09:28:07 +13:00
jflyper
a33316c1f5 Setup I2C bus correctly for gyro detection 2019-02-08 03:09:45 +09:00
Dave Huber
bb95d53e62 Add mode logic to MSP
Add msp code 238.
Add MSP_MODE_RANGES code to msp.c.
Add 2 extra byte reads to MSP_SET_MODE_RANGES.
Add check for extra bytes in MSP_SET_MODE_RANGES
Add API documentation for MSP_MODE_RANGES_EXTRA
convert linkedTo storage to boxid
Send length of array in EXTRAS data
Add note that alignment of elements of MODE_RANGES and MODE_RANGES_EXTRA is required and indicated by permanentId.
2019-02-07 10:28:34 -06:00
Michael Keller
760300b562
Merge pull request #7540 from jflyper/bfdev-vtx-table-tramp
[VTX] Convert Tramp driver to use VTX table facility
2019-02-07 23:57:09 +13:00
Michael Keller
3672bead17
Merge pull request #7542 from mikeller/add_mcu_type_msp
Added the MCU type to MSP.
2019-02-07 23:55:21 +13:00
Michael Keller
9d621aa2c1
Merge pull request #7537 from mikeller/add_ws2811_single_colour_mode
Added single colour mode to WS2811 driver for RAM savings.
2019-02-07 23:54:35 +13:00
Michael Keller
36e13b8f34
Merge pull request #7536 from etracer65/optimize_max7456_driver
Optimize MAX7456 driver invert and brightness functions
2019-02-07 23:38:50 +13:00
Michael Keller
e962f13a9f
Merge pull request #7539 from mikeller/fix_unneeded_sources
Removed unneeded source files from 'target.mk'.
2019-02-07 23:05:19 +13:00
jflyper
784e521fef Convert Tramp driver to VTX_TABLE 2019-02-07 05:11:03 +09:00
Michael Keller
807b06044a
Merge pull request #7251 from jflyper/bfdev-vtx-table
[VTX] CLI parser for vtxtable
2019-02-07 08:26:58 +13:00
jflyper
9b06b570e1 Size of frequency table (stride) is now fixed constant 2019-02-06 22:59:23 +09:00
mikeller
b93b345830 Added the MCU type to MSP. 2019-02-07 00:16:13 +13:00
Michael Keller
d737bab37e
Merge pull request #7535 from warhog/master
Improve RSSI handling on link loss for Spektrum SRXL
2019-02-06 22:32:52 +13:00
jflyper
96fc6dc934 CLI parser for vtxtable 2019-02-06 15:24:02 +09:00
Michael Keller
fa11287e8d
Merge pull request #7532 from brettcollis2212/patch-1
Change resource PINIO 1 from PB8 to B08
2019-02-06 15:38:42 +13:00
Michael Keller
d4f71bba63
Merge pull request #7534 from etracer65/optimize_rc_modes_processing
Optimize rc modes activation conditions processing
2019-02-06 15:38:11 +13:00
mikeller
9339f2ad21 Removed unneeded source files from 'target.mk'. 2019-02-06 12:58:13 +13:00
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