Commit Graph

12652 Commits

Author SHA1 Message Date
Michael Keller eb7a3250c2
Merge pull request #6864 from etracer65/overflow_filter_order_fix
Fix ordering of gyro filtering and overflow/yaw-spin logic
2018-10-03 00:47:33 +13:00
Michael Keller 63a85f7998
Merge pull request #6863 from jflyper/bfdev-conditionalize-rx_xn297
Add conditional for rx_xn297.c
2018-10-02 23:43:18 +13:00
jflyper d5aa7243ad Add conditional for rx_xn297.c
XN297 is near clone of nRF24L01, and it is only used by nrf24_cx10.c
2018-10-02 12:33:55 +09:00
chibaron 021e493447 fix build error NUCLEOF446RE and CRAZYBEEF3FS 2018-10-02 11:06:30 +09:00
chibaron 95d3200c92 fix coding style 2018-10-02 01:51:25 +09:00
jflyper f645ba3c10
Merge pull request #6846 from jflyper/bfdev-revo-remove-stale-adc-channel-def
REVO: Remove stale ADC channel def
2018-10-02 00:53:28 +09:00
jflyper cd00389c7d
Merge pull request #6848 from jflyper/bfdev-pikoblx-remove-stale-gpio-def
FF_PIKOBLX: Remove stale GPIO def
2018-10-02 00:52:56 +09:00
Bruce Luckcuck 8e0128a2b2 Fix ordering of gyro filtering and overflow/yaw-spin logic
Since the gyro overflow and yaw-spin logic uses filtered gyro data they need to be after the filter application.

Currently the logic is before causing it to operate on one sample old data. This won't prevent the logic from working and it's not a critical fix, but it's better to have the checks after the filtering.
2018-10-01 10:27:48 -04:00
chibaron cb5fc4fd63 Add SFHSS-SPI-RX 2018-10-01 23:27:40 +09:00
jflyper 0a16f4dc90 Refactor rx_spi with spiBusXXX API 2018-10-01 22:54:47 +09:00
jflyper 00840ce40f Prepare SD card SPI and SDIO variants for consolidation 2018-10-01 19:44:04 +09:00
Michael Keller 8980ba1065
Merge pull request #6844 from etracer65/dual_gyro_fixes
Dual gyro fixes - fix non-reentrant code in gyro sensor update and hardcoded gyroSensor1 logic
2018-10-01 23:39:51 +13:00
Michael Keller 9bdd41d473
Merge pull request #6847 from jflyper/bfdev-remove-stale-SENSORS_SET
OMNIBUSF7 & KAKUTEF7: Remove stale SENSORS_SET defs
2018-10-01 23:26:21 +13:00
Michael Keller 1ab3d75b4f
Merge pull request #6843 from jflyper/bfdev-fix-f3-adc-device-origin
F3: Use ADC device from PG
2018-10-01 22:02:34 +13:00
Michael Keller 9401e49409
Merge pull request #6834 from jflyper/bfdev-matekf411rx-remove-unused-defs
SPI RX targets: Cleanup RX_SPI related pin defs
2018-10-01 21:18:24 +13:00
jflyper 5fe4f44f43 RX_*_PIN defs are not used & canonicalize to SPI defs 2018-09-30 21:00:48 +09:00
Michael Keller 03d082ceb5
Merge pull request #6845 from jflyper/bfdev-sdcard-refactor-to-use-busDevice_t
SDCARD: Refactor sdcard.c to use busDevice_t
2018-10-01 00:54:07 +13:00
Michael Keller a8d874a458
Merge pull request #6784 from jflyper/bfdev-fix-generic-timer-channel-number-one-origin
GENERIC Fix origins for timer channel list
2018-10-01 00:44:06 +13:00
jflyper 8723416640 Constrain divisor range to 2~256. 2018-09-30 01:55:21 +09:00
jflyper f9f5357331 Remove or convert stale MPU_INT_EXTI defs 2018-09-29 14:38:44 +09:00
jflyper 891f0f14cb Remove stale GPIO def 2018-09-29 04:41:10 +09:00
jflyper 21c17aed22 Remove stale SENSORS_SET defs 2018-09-29 04:37:38 +09:00
jflyper 4297c59b4e Remove stale ADC channel def 2018-09-29 04:34:32 +09:00
jflyper 3d4aef0113 Refactor sdcard.c to use busDevice_t 2018-09-29 02:40:17 +09:00
Bruce Luckcuck 6656780205 Dual gyro fixes - fix non-reentrant code in gyro sensor update and fix hardcoded gyroSensor1 logic
Fixes instances of hardcoded gyroSensor1 in the status functions for overflow detection, yaw spin detection, and the sensor temperature reading.

Also fixes non-reentrant code in gyroUpdateSensor() that would not behave properly when gyro_to_use = BOTH
2018-09-28 12:57:30 -04:00
jflyper 1df0147a2b F3: use ADC device from PG 2018-09-28 11:47:44 +09:00
Michael Keller d557203fac
Merge pull request #6792 from onelivesleft/patch-1
Increase MAX_ADJUSTMENT_RANGE_COUNT from 15 to 30
2018-09-26 19:30:45 +12:00
onelivesleft de61371b17
Merge branch 'master' into patch-1 2018-09-25 22:53:21 +01:00
onelivesleft d77e3d8a29 Increase MAX_ADJUSTMENT_RANGE_COUNT from 15 to 24
Since we are limited to only 4 aux channels, it would be good to increase this count in order to allow more multiplexing of data into fewer aux channels.  At 18 we can allow full PID editting for Roll+Pitch+Yaw using 1 aux channel.  24 leaves room above that... maybe 30 or 32 would be better?

Upped to 30 as per @etracer65's suggestion

increased PG_REGISTER_ARRAY version
2018-09-25 22:46:37 +01:00
Michael Keller 0d5bb93f5d
Merge pull request #6838 from etracer65/remove_unused_imu_parms
Remove unused IMU parameters
2018-09-25 22:40:09 +12:00
jflyper 0ff2d864b4 Fix origins for timer channel list
Selection is zero origin
Channel number is one origin for user I/O
2018-09-25 14:28:13 +09:00
timman2er 88f91681e7 fix order for OSD display 2018-09-25 03:04:09 +02:00
Michael Keller c2747eed94
Merge pull request #6823 from jflyper/bfdev-sprf7dual-target-cleanup
SPRACINGF7DUAL: Move board specific to config.c
2018-09-25 09:49:00 +12:00
Michael Keller 67fb64b759
Merge pull request #6804 from jflyper/bfdev-use-unified-sdcard-clocks
SDCARD: Use unified clock specs, remove per target specs.
2018-09-25 09:48:19 +12:00
Michael Keller 986fd3cd7d
Merge pull request #6787 from jflyper/bfdev-handle-NULL-SPI-instance-in-spiBusSetInstance
Handle NULL SPI instance in spiBusSetInstance
2018-09-25 09:43:59 +12:00
Michael Keller ee7c556902
Merge pull request #6779 from DieHertz/bfdev-spedix-f4-target
Added SPEDIX F4 target
2018-09-25 09:27:59 +12:00
Bruce Luckcuck 0074f05573 Remove unused IMU parameters 2018-09-24 16:14:03 -04:00
Michael Keller a3a7b1b60a
Merge pull request #6767 from marv-t/JetiExBus-RX
Jeti receiver doesnt need a resistor anymore
2018-09-25 07:46:15 +12:00
Michael Keller 88a240f9aa
Merge pull request #6832 from jflyper/bfdev-colibri_race-move-board-specific-to-config
COLIBRI_RACE: Move board specifics out of target.h
2018-09-25 07:29:29 +12:00
Thomas Miric 988ac048bf Receiver doesnt need a resitor anymore
Because JETIEXBUS has been removed for Target F3, serial bidirection is
preferred
2018-09-24 15:56:00 +02:00
Thomas Miric 93a66f4b01 Merge remote-tracking branch 'upstream/master' 2018-09-24 15:53:42 +02:00
Michael Keller 649eaea291
Merge pull request #6826 from jflyper/bfdev-spracingf4neo-move-target-specific-to-config
SPRACINGF4NEO: Remove already moved board specific defs from target.h
2018-09-25 00:41:29 +12:00
Michael Keller b63a677c8b
Merge pull request #6827 from jflyper/bfdev-fix-stale-voltage-meter-def
MOTOLABF4 & KISSFCV2F7: Change BOARD_HAS_VOLTAGE_DIVIDER to DEFAULT_VOLTAGE_METER_SOURCE
2018-09-25 00:39:10 +12:00
Michael Keller 9a3b7a49a8
Merge pull request #6831 from jflyper/bfdev-spr4evo-fix-gyro-exti
SPRACINGF4EVO: Remove stale/bogus gyro exti def, add a legit one
2018-09-24 23:55:42 +12:00
Michael Keller d414cf3b5c
Merge pull request #6764 from jflyper/bfdev-avoid-inactive-telemetry-from-registering-as-displayport-device
Avoid inactive telemetry port from being registered as a displayport …
2018-09-24 09:46:31 +12:00
Thomas Miric a248b80561 Merge remote-tracking branch 'refs/remotes/betaflight/master' 2018-09-23 07:51:15 +02:00
Thomas Miric dceb30d9e4 Merge remote-tracking branch 'refs/remotes/origin/Jeti-telemetry' 2018-09-23 07:48:33 +02:00
jflyper 73edcf313c Move bst related defs to bst.h plus some cleanup 2018-09-23 02:48:50 +09:00
jflyper 4d71503efa Remove stale/bogus gyro exti def, add a legit one 2018-09-23 02:26:24 +09:00
J Blackman f814459497
Merge pull request #6825 from jflyper/bfdev-bluejayf4-move-board-specific-to-config
BLUEJAYF4: Move board specific to config.c
2018-09-22 23:23:54 +10:00