Tony Cabello
84d2bc2c83
Arm prevention if Rescue is activated
2018-12-02 19:17:52 +01:00
Kenneth Mitchell
233ac7fb3f
Allow width=0 to select single notch. Restore dyn lpf mins.
2018-12-02 10:01:51 -05:00
Kenneth Mitchell
011eae93c6
Cascaded notch filters.
2018-12-02 09:52:02 -05:00
jflyper
0cf8679b5c
Switch USBD storage fops table according to sdcard config
2018-12-02 21:51:40 +09:00
Tony Cabello
d87e40725e
Calculate distance flown with a speed threshold
2018-12-02 06:49:46 +01:00
Tony Cabello
bdd57a6ce4
GPS Rescue: check failsafe procedure when preventing arming
2018-12-02 04:47:47 +01:00
Tony Cabello
8a15b128dc
Added missing osd_warn_rc_smoothing in settings
2018-12-02 04:37:18 +01:00
mikeller
ca5da2fdbb
Fixed build dependency on EXTI for BMI160 driver.
2018-12-02 10:50:15 +13:00
Michael Keller
3736a2486d
Merge pull request #7116 from jflyper/bfdev-status-command-refactor
...
[CLI] Refactor status command to print things in more sensible order
2018-12-02 10:41:07 +13:00
jflyper
d4ac21cdc7
Refactor status command to print things in more sensible order
2018-12-01 22:21:58 +09:00
Pieter Kruger
8d981df1a9
Add OSD Profile feature - issue 4155
2018-12-01 17:51:38 +10:00
Tony Cabello
eadddf90af
Blink GPS indicator on OSD when numsats is lower than minimum configured for GPS Rescue
2018-11-30 05:54:34 +01:00
Michael Keller
8a4ea0785e
Merge pull request #7142 from mikeller/remove_use_multi_gyro
...
Removed USE_MULTI_GYRO from targets that have it defined by default.
2018-11-29 19:28:54 +13:00
Michael Keller
ed86cd27e5
Merge pull request #7143 from etracer65/rc_smoothing_retraining_samples
...
RC Smoothing: reduce retraining sample count
2018-11-29 19:28:41 +13:00
Michael Keller
d9da73a496
Merge pull request #7145 from etracer65/msc_osx
...
Fixes to allow the MSC command with on-board flash to work on MacOS.
2018-11-29 19:26:47 +13:00
Michael Keller
2fd4589106
Merge pull request #7127 from jflyper/bfdev-KROOZX-use-pinio-for-OSD-channel-switch
...
[KROOZX] Use pinio for OSD channel switch and move OSD_CH_SWITCH out of target.h
2018-11-28 23:52:35 +13:00
Michael Keller
4134c9c790
Merge pull request #7135 from jflyper/bfdev-move-hcsr04-default-pins-out-of-driver
...
[RANGEFINDER_HCSR04] Move default pin defs out of driver file
2018-11-28 23:52:15 +13:00
Michael Keller
8300203dcd
Merge pull request #7141 from mikeller/amend_parameter_group_doc_again
...
Amended parameter group documentation to include array length considerations.
2018-11-28 23:51:45 +13:00
jflyper
0f7d1ead97
Move default pin defs out of driver file
2018-11-28 14:07:49 +09:00
Bruce Luckcuck
a1899d671b
Fixes to allow the MSC command with on-board flash to work on MacOS.
...
Fixed a bug in the STM libraries to set the write protected bin in the device config for the mass storage SCSI sense code 6 and 10. Previously the `isWriteProtected()` result was only being examined during write attempts and they correctly failed and returned a `NOT_READY` response (we don't support writes for SPIFLASH). Unfortunately since the device was not flagged as write protected on MacOS the operating system would try to write to the device and this would fail causing the operating system to think the device wasn't ready and refuse to mount it.
General fixes:
Ensured that the filesystem appears to be at least 256MB so that the volume will be treated as FAT32 instead of FAT16. A hidden "padding.txt" file is created to represent the extra space.
Fix the directory structure to only create the "btfl_all.bbl" file if there were any logs found. Previously it would always be created and this would lead to directory corruption.
Fix the size calculation for the "btfl_all.bbl" file. Previously it was being set to the total flash size rather than the used space.
2018-11-27 18:48:46 -05:00
Bruce Luckcuck
76e537cff7
RC Smoothing: reduce retraining sample count
...
Reduce the retraining sample count from 50 to 20. The initial training remains unchanged at 50 samples.
Speeds up the transition to a new detected frame rate and adjusts the filters to new optimal cutoffs quicker. As an example for CRSF: switching from 150hz to 50hz would take approximately 1 second (50 samples @ 20ms). After this change it will take approximately 0.4 seconds.
2018-11-27 10:48:53 -05:00
Michael Keller
39582667c2
Merge pull request #7131 from jflyper/bfdev-wormfc-remove-stale-def
...
[WORMFC] Remove stale BOARD_HAS_VOLTAGE_DIVIDER
2018-11-28 00:46:44 +13:00
Michael Keller
73fdb9fae4
Merge pull request #7133 from jflyper/bfdev-kroozx-remove-stale-config-address-def
...
[KROOZX] Remove stale config address def
2018-11-28 00:46:14 +13:00
Michael Keller
5cd29f6eb0
Merge pull request #7134 from jflyper/bfdev-max7456-default-instance-to-null
...
[MAX7456] SPI instance defaults to NULL
2018-11-28 00:45:57 +13:00
Michael Keller
fa5716a20d
Merge pull request #7136 from mikeller/fix_gyro_dev_parameter_group
...
Fixed define dependency of gyro device parameter group, gyro EXTI CLI support.
2018-11-28 00:42:57 +13:00
mikeller
6d726f7d5f
Removed USE_MULTI_GYRO from targets that have it defined by default.
2018-11-28 00:31:18 +13:00
Michael Keller
9ef4a118b7
Merge pull request #7100 from TonyBlit/gps_total_distance_fix
...
Total Distance is reset on re-arming
2018-11-27 23:36:52 +13:00
mikeller
27dd36590b
Amended parameter group documentation to include array length considerations.
2018-11-27 23:33:40 +13:00
mikeller
c927a65024
Fixed define dependency of gyro device parameter group, gyro EXTI CLI support.
2018-11-27 22:20:04 +13:00
Michael Keller
32068e3830
Merge pull request #7126 from jflyper/bfdev-generic-handling-of-target-default-mixer
...
Remove (literal) target dependency from "TARGET_DEFAULT_MIXER"
2018-11-26 21:52:04 +13:00
Michael Keller
06d931e245
Merge pull request #7125 from jflyper/bfdev-move-BEEPER_OPT-out-of-target.h
...
[BLUEJAYF4,YUPIF4] Move BEEPER_OPT out of target.h
2018-11-26 21:51:49 +13:00
Michael Keller
02c7ac8c93
Merge pull request #7124 from mikeller/rename_use_flash
...
Renamed USE_FLASH to USE_FLASH_CHIP for clarity.
2018-11-26 21:51:27 +13:00
Michael Keller
5a8ada0020
Merge pull request #7123 from mikeller/amend_parameter_group_documentation
...
Amended parameter group documentation to contain uniformity / atomicity constraints.
2018-11-26 21:51:09 +13:00
Michael Keller
5c594a5562
Merge pull request #7122 from etracer65/throttle_limit_msp
...
Add throttle_limit settings to MSP
2018-11-26 21:50:31 +13:00
borisbstyle
9d94619c39
Merge pull request #7130 from etracer65/increase_dshot_idle
...
Increase DSHOT digital idle default value
2018-11-26 08:53:50 +01:00
jflyper
58692b9009
Set MAX7456 SPI instance to default NULL
2018-11-26 11:10:42 +09:00
Tony Cabello
3199c48ee9
GPS Rescue no longer forces a reset home position when disarmed
...
Home position is deinitialized on disarm at gpsUpdate, so it can't be missed
DistanceFlown is reset inside GPS_calculateDistanceFlown
DistanceFlown was not calculated properly
2018-11-26 00:32:22 +01:00
jflyper
444bf882b8
Remove stale config address def
2018-11-26 02:21:51 +09:00
jflyper
ba5938c5c8
Remove stale MPU_INT_EXTI def
2018-11-26 01:47:14 +09:00
jflyper
eb3533e0be
Remove stale BOARD_HAS_VOLTAGE_DIVIDER
2018-11-26 01:32:04 +09:00
Bruce Luckcuck
b777c6f853
Increase DSHOT digital idle default value
...
The DSHOT digital idle value is quite low (4.5%) and is often the cause of support issues as users are unaware that they may have to adjust this based on their motor/ESC requirements - leading to de-syncs and "death rolls" or other flip-outs.
While DSHOT capable ESC's (BLHeli_S & BLHeli32) have faster MCU's and are often capable of smoother low speed idling, 4.5% is still quite low. For comparison the `min_throttle` default is 1070 equating to a 7% idle.
I propose raising the digital idle to 5.5% to reduce occurrences of de-syncs from too low idle speed.
2018-11-25 10:34:05 -05:00
Michael Keller
68402e6571
Merge pull request #7109 from phobos-/spi_rx_led
...
Unified SPI RX led and bind functionality
2018-11-26 00:31:49 +13:00
phobos-
c88a5a3a22
Refactored SPI RX led blink and bind plug functionality to rx_spi_common
2018-11-25 10:37:18 +01:00
mikeller
e4bd905f70
Added clarification about new parameters if 0 is an invalid value.
2018-11-25 15:51:26 +13:00
jflyper
3c58522d5e
Use pinio for OSD channel switch and move OSD_CH_SWITCH out of target.h
2018-11-25 11:03:53 +09:00
jflyper
68da794db8
Remove (literal) target dependency
2018-11-25 10:44:13 +09:00
jflyper
3b0a32e5b5
Move BEEPER_OPT out of target.h
2018-11-25 10:32:16 +09:00
mikeller
c8e484df94
Renamed USE_FLASH to USE_FLASH_CHIP for clarity.
2018-11-25 13:47:31 +13:00
mikeller
cad702b4f7
Amended parameter group documentation to contain uniformity / atomicity constraints.
2018-11-25 13:40:17 +13:00
Michael Keller
4246f06529
Merge pull request #7073 from ctzsnooze/Update-D-defaults
...
Set TPA default to D only, increase D about 10%
2018-11-25 13:31:29 +13:00