Commit Graph

12738 Commits

Author SHA1 Message Date
Bruce Luckcuck 044648ca12 Optimize in-flight adjustments to only process configured ranges
Previously the logic would process all possible ranges defined by MAX_ADJUSTMENT_RANGE_COUNT even if some (or even all) ranges were not configured.  This change first builds a list of configured ranges and only processes thos entries.

Reduces CPU load by skipping unnecessary processing and minimizes the impact of increasing the number of available ranges.
2018-09-18 10:31:58 -04:00
Michael Keller 949e44aae4 Fixed changed defines. 2018-09-19 02:27:51 +12:00
Michael Keller ea6c21f1e6
Merge pull request #6447 from bforbort/vario
Enable Vario on targets that support barometers
2018-09-18 23:53:09 +12:00
Michael Keller 7e362ace48
Merge pull request #6672 from timman2er/fix_name_building
fix building guide for all OS's
2018-09-18 23:43:37 +12:00
Michael Keller 3a62d40372
Merge pull request #6697 from etracer65/cli_lookup_index_validation
Add CLI validation of parameters and print a corrupted value message
2018-09-18 23:39:18 +12:00
Michael Keller 2a6aaf922c
Merge pull request #6757 from supermomme/patch-1
add some PR links to 3.5 and 3.4 release notes
2018-09-18 23:37:55 +12:00
Michael Keller 3f41eb78a2
Merge pull request #6760 from andrejpodzimek/test_reintroduction
Fixing a wrong defintion of TARGET in the test Makefile.
2018-09-18 23:37:28 +12:00
Michael Keller dcf0d8cd44
Merge pull request #6781 from aguindehi/master
Add target UAVPNG030MINI for the UAVP-NG HW-0.30-mini board
2018-09-18 23:32:00 +12:00
Bruce Luckcuck 0d7f8f5feb Fix CRSF telmetry GPS speed calculation
Calculation was assuming that the GPS groundspeed was in 1/10 m/s when in reality it's in cm/s units.  This was causing the value sent in telemetry to be 10 times too large.
2018-09-18 07:07:22 -04:00
githubDLG 3fcd83a9dc fix timer define 2018-09-18 17:14:04 +08:00
Amir Guindehi 566ad49a10 Changed PPM_IN_B from TIM_USE_PPM to TIM_USE_ANY and added a comment that this is a secondary PPM_IN which can be assigned if a user wants to use it. 2018-09-18 08:47:04 +02:00
githubDLG 6bdf3d7b67 CrazyBee F3 target update
1.add new variant: CrazyBee F3 DX
2.add Led_Strip and an extra pwm servo channel
3.change current meter scale according to hardware change
2018-09-18 14:45:21 +08:00
Amir Guindehi cf8c1d7e0b Removed AVOID_UART1_FOR_PWM_PPM from UAVPNG030MINI target. As we do not share PPM/PWM pads and serial input this is unneeded. 2018-09-18 08:40:15 +02:00
borisbstyle 9b51fb3216
Merge pull request #6742 from ctzsnooze/update-defaults-for-yaw
defaults to improve yaw behaviour, ITermWindupPointInv already define…
2018-09-18 08:32:19 +02:00
jflyper a2f39c8844 Refactor USB toward generic target
- Move conditionals from pg/usb.c to common_defaults_post.h
- Add detectPin to usbDev_s.
- Bump PG version for usbDev_s.
- Add resource manipulation for USB_DETECT.
2018-09-18 14:51:12 +09:00
Amir Guindehi 9e838e1451 Corrected USED_TIMERS in the UAVPNG030MINI target. 2018-09-17 20:45:42 +02:00
Amir Guindehi aaff54cca1 Removed unneeded target definitions in target UAVPNG030MINI. 2018-09-17 17:36:23 +02:00
Amir Guindehi 54111b62d6 Fixed missing defines in UAVPNG030MINI target. It seems MPU6000_CS_PIN + MPU6000_SPI_INSTANCE got renamed to GYRO_1_CS_PIN + GYRO_1_SPI_INSTANCE. 2018-09-17 15:51:06 +02:00
Amir Guindehi 1722f20a34 Added UAVP-NG HW-0.30-mini target called UAVPNG030MINI. 2018-09-17 11:52:09 +02:00
Andrey Mironov 35a75e5201 Added docs 2018-09-17 12:03:55 +03:00
Andrey Mironov 039f05f455 Added SPEDIXF4 target 2018-09-17 12:03:55 +03:00
borisbstyle 27cbf0515d
Merge pull request #6775 from kmitchel/fix_osd_stat_max_g_force
Relocate G-force calculation.
2018-09-17 08:54:41 +02:00
Blaine eb5af3a161 Add support for the ST LIS3MDL 3-Axis Magnetometer per #6437 2018-09-16 19:56:13 -07:00
Kenneth Mitchell 91dcea8053 Relocate G-force calculation. 2018-09-16 19:19:40 -04:00
Michael Keller a252b1cb7e
Merge pull request #6770 from jflyper/bfdev-handle-null-spi-instance
Handle NULL SPI instance case
2018-09-17 10:13:53 +12:00
Michael Keller 5f4da5166b
Merge pull request #6765 from nyway/master
Add default CAMERA_CONTROL pin for DALRCF722DUAL
2018-09-17 09:32:51 +12:00
Michael Keller fa72298d41
Merge pull request #6774 from jflyper/bfdev-STM32F7X2-move-battery-meter-source-to-config
STM32F7X2 Move default battery meter source to board config
2018-09-17 09:17:35 +12:00
jflyper 8ee787043f Move default battery meter source to board config 2018-09-17 01:40:26 +09:00
ctzsnooze 9cc96bfa67 Grr missed two ITerm's in unit test clode 2018-09-16 12:04:57 +10:00
jflyper 4193890b27 Handle NULL SPI instance case 2018-09-16 03:09:45 +09:00
Thomas Miric fb72fa7d03 Add GPS values and update others 2018-09-15 09:53:34 +02:00
Michael Keller 9cec06dfc5
Merge pull request #6753 from kmitchel/fix_osd_flip_arrow
Fix osd flip arrow
2018-09-15 19:22:18 +12:00
ZhengNingwei ed88607113 Add default CAMERA_CONTROL pin for DALRCF722DUAL
Add default CAMERA_CONTROL pin for DALRCF722DUAL
2018-09-15 11:07:14 +08:00
ctzsnooze 299a2d6b8b whitspace 2018-09-15 12:28:41 +10:00
ctzsnooze ac5d2fbb3a set default to original 40% 2018-09-15 12:20:00 +10:00
ctzsnooze 37da70c555 rebase and recheck 2018-09-15 12:19:53 +10:00
jflyper 159cb5449b Avoid inactive telemetry port from being registered as a displayport device 2018-09-15 10:59:56 +09:00
ctzsnooze 80608f5f1c camelCase fix, else added, getMotorMixRange directly 2018-09-15 11:57:47 +10:00
ctzsnooze 586e674898 get motorMixRange only when needed, default inv to 1, editorial 2018-09-15 11:57:47 +10:00
ctzsnooze 942d1bb384 add const, remove float cast 2018-09-15 11:57:47 +10:00
ctzsnooze f545637669 defaults to improve yaw behaviour, ITermWindupPointInv already defined at zero 2018-09-15 11:57:46 +10:00
Andrej Podzimek dc76f7a473 Fixing a test TARGET definition and adding comments on disabled tests. 2018-09-14 00:44:39 +02:00
Kenneth Mitchell 1f81011f5e Fix OSD Flip arrow. 2018-09-13 18:24:55 -04:00
Michael Keller 8207dab3e5
Merge pull request #5868 from jflyper/bfdev-poc-migrate-to-dual-gyro
Configurable ACC/GYRO
2018-09-14 09:22:47 +12:00
borisbstyle 9c2a8ddca3 Set theme jekyll-theme-midnight 2018-09-13 22:31:16 +02:00
Momme Jürgensen a1347d251f
add some PR links to 3.4 release notes 2018-09-13 18:11:03 +02:00
Momme Jürgensen d01405c605
add some PR links to 3.5 release notes 2018-09-13 16:04:33 +02:00
borisbstyle 2eb6aa27d4
Merge pull request #6736 from andrejpodzimek/timer_definitions
Fixing mismatches in USED_TIMERS definitions.
2018-09-12 22:02:18 +02:00
borisbstyle 93c6f93ac1
Merge pull request #6738 from andrejpodzimek/per_target_tests
Adding a per-target unit test for timer metadata consistency.
2018-09-12 21:59:56 +02:00
borisbstyle 5a73bf9f5d
Merge pull request #6743 from AndersHoglund/fix_6722
Fix issue 6722. SRXL data collection was not triggered.
2018-09-12 21:57:33 +02:00