Davor Kustec
d62273f43d
Fixed misaligned report 'usages', added few chnls
...
Fixed bracket
Removed extra semicolon
Fixed misaligned report 'usages', added few chnls
Reverted lib changes
2020-08-31 21:27:12 +02:00
Michael Keller
8e361c574b
Merge pull request #10138 from jflyper/bfdev-g4-camera-control
...
[G4] Camera control support
2020-08-27 09:11:28 +12:00
Michael Keller
a7b82a109d
Merge pull request #10137 from jflyper/bfdev-g4-update-i2c-pindef
...
[G4] I2C Add I2C pins overloaded with SWD pins
2020-08-27 09:10:37 +12:00
Michael Keller
d0cd96dc5b
Merge pull request #10135 from mikeller/fix_documentation_check_in_ci
...
Fixed the check if only documentation was changed in Travis.
2020-08-26 20:21:15 +12:00
Michael Keller
85c2b7c7fd
Merge pull request #10134 from mikeller/fix_broken_tests
...
Fixed broken tests after #10080 .
2020-08-26 19:09:38 +12:00
jflyper
81846f1486
[G4] Camera control support
2020-08-25 02:25:56 +09:00
jflyper
be3b321d7a
[G4] Add I2C pins overloaded with SWD pins
2020-08-25 02:21:54 +09:00
mikeller
82a2f92264
Fixed the check if only documentation was changed in Travis.
2020-08-25 01:22:23 +12:00
mikeller
d79dcbb388
Fixed broken tests after #10080 .
2020-08-25 01:17:16 +12:00
Michael Keller
b1a3699753
Merge pull request #10128 from SJ-Innovation/SJI_rename_FAST_RAM_macro
...
Rename macros used in FAST_RAM/DATA
2020-08-25 00:46:12 +12:00
Michael Keller
87adab2fac
Merge pull request #10080 from haslinghuis/british_osd_units
2020-08-25 00:27:59 +12:00
haslinghuis
9ae3adaa51
Measurement units for OSD elements and FRSKY hub telemetry.
2020-08-23 16:23:57 +02:00
Sam Lane
4c99ad743d
Rename FAST_RAM to FAST_DATA
2020-08-23 08:49:26 +01:00
Michael Keller
da9bb85843
Merge pull request #10118 from SJChannel/serialRxBytesWaiting-fix
...
Fix bug that causes uartTotalRxBytesWaiting() to return incorrect value when DMA is used
2020-08-23 15:57:12 +12:00
Michael Keller
b31230701a
Merge pull request #10094 from haslinghuis/upd-doc-serial
2020-08-23 15:48:38 +12:00
Michael Keller
9791bce8c8
Merge pull request #10114 from knoopx/cms-thrust-linearization
...
add thrust linearization to CSM
2020-08-21 13:09:50 +12:00
Michael Keller
8807c544c7
Merge pull request #10112 from knoopx/cms-config-min-warn-batt
...
feat: add additional min/warn battery cell voltages to CMS
2020-08-21 10:33:45 +12:00
John Polstra
d184e581d8
Fix a bug that caused uartTotalRxBytesWaiting() to return a grossly incorrect
...
value when DMA was used. For example, if one byte was waiting, the function
returned one less than the size of the buffer.
The reason the bug didn't cause serious problems is that almost all
calls to this function check only whether the returned value is zero or not.
(The only exceptions I found were in "src/main/telemetry/hott.c". Perhaps
that code was tested on a target that did not use DMA.) The case of zero
bytes waiting was the only case in which the correct result was returned.
2020-08-19 11:30:29 -07:00
haslinghuis
bde56cf876
Document updated after comments from mikeller!
2020-08-19 18:53:54 +02:00
Victor Martinez
e375ac1c21
add thrust linearization to CSM
2020-08-19 01:58:48 +02:00
Victor Martinez
b7b90bd681
feat: add additional min/warn battery cell voltages to CMS
2020-08-19 00:34:09 +02:00
Michael Keller
08a87b72fc
Merge pull request #10105 from mikeller/cleanup_dynamic_idle_old_min_rps
...
Cleaned up handling of 'oldMinRps' in dynamic idle code.
2020-08-19 02:01:46 +12:00
Michael Keller
eccbd81c8f
Merge pull request #10101 from mikeller/fix_board_info_conditional
...
Added missing 'USE_BOARD_INFO' conditionals in cms.c.
2020-08-18 00:40:55 +12:00
Michael Keller
3d10b114ea
Merge pull request #10099 from mikeller/update_unified_target_instructions
...
Updated the instructions for the creation of Unified Target Configurations.
2020-08-18 00:40:20 +12:00
Michael Keller
511ebd4bc2
Merge pull request #10098 from etracer65/improve_gyro_detect
...
Speed up gyro device detection; fix MPU6000 initialization
2020-08-17 22:24:36 +12:00
mikeller
a5a1c8dd59
Cleaned up handling of 'oldMinRps' in dynamic idle code.
2020-08-17 22:15:06 +12:00
Michael Keller
32e389466c
Merge pull request #10086 from IllusionFpv/updated-dyn-throttle-curve
2020-08-16 21:56:43 +12:00
Nicola De Pasquale
c1ce6f30f8
removed unnecessary static declarations
2020-08-16 11:12:55 +02:00
mikeller
04d3f7bb74
Added missing 'USE_BOARD_INFO' conditionals in cms.c.
2020-08-16 21:11:53 +12:00
Michael Keller
66b7cc7c6a
Merge pull request #10097 from etracer65/rssi_channel_constrain_range
...
Fix underflow in channel based RSSI calculations for out of range values
2020-08-16 13:03:18 +12:00
Michael Keller
d3ad63a50b
Merge pull request #10079 from Asizon/add_vbatSag_to_bbheader
...
Added vbat_sag_compensation to Blackbox header
2020-08-16 12:05:18 +12:00
mikeller
a668dc9170
Updated the instructions for the creation of Unified Target Configurations.
2020-08-16 11:48:07 +12:00
Bruce Luckcuck
140471adc6
Speed up gyro device detection; fix MPU6000 initialization
...
The detection logic in the MPU6000 and ICM20689 drivers had unnecessary "retry" logic that would try to read the `WHOAMI` register 5 times for MPU6000 and 20(!) times for ICM20689 - with a 150ms delay for each iteration. So the problem is that all the enabled drivers need to be probed in order so on a board that had a LSM6DSO for example (or any sensor further down the list) it would introduce about 4 seconds of initialization delay (dual gyro board would take 8 seconds!). Revised logic completes in about 0.4 seconds in the worst case.
After removing the unnecessary retry/repeat logic for the MPU6000 an initialization problem became visible. The driver was not following the datasheet guidelines and clearing the signal path after resetting the device. This lead to detection issues on warm reboots that were accidentally masked by the excessive delays with the retry logic.
The improvement in boot speed depends on the device's position in the list. So any device with a MPU6000 won't see any difference. All other devices will boot about 1 second faster (like ICM20602, ICM20689). Devices after the ICM20689 (like BMI160/270, LSM6DSO) will boot about 4 seconds faster.
2020-08-15 18:24:10 -04:00
Michael Keller
7b255c866e
Merge pull request #9946 from limonspb/motor_mapping
...
Motor output reordering feature for CLI and MSP (Firmware part)
2020-08-16 09:47:51 +12:00
Bruce Luckcuck
cd4d756790
Fix underflow in channel based RSSI calculations for out of range values
...
If the RSSI channel PWM values were outside the expected 1000-2000 range, the `scaleRange()` function does not work properly. In particular if the value was below the minimum the result would be negative. Then this would cause an underflow when applied as a `uint16` to `setRssiDirect()`. This fix constrains the input range from 1000 to 2000.
2020-08-14 18:59:47 -04:00
Michael Keller
968e72fae8
Merge pull request #10082 from SJChannel/tfp_sprintf-format-mismatch
...
Fix a format/argument mismatch in a call to tfp_sprintf()
2020-08-13 21:09:50 +12:00
Michael Keller
ea48e80b8e
Merge pull request #10092 from etracer65/cli_range_check_error_formatting
...
Fix CLI range check error message formatting
2020-08-13 20:46:38 +12:00
Michael Keller
8d2b58c834
Merge pull request #10091 from mikeller/fix_frsky_x_spi_bug
...
Fixed bug in FrSky X SPI code affecting RX range.
2020-08-13 20:42:00 +12:00
Bruce Luckcuck
ed35b1d773
Fix CLI range check error message formatting
2020-08-11 18:27:11 -04:00
mikeller
77eb4f2172
Fixed bug in FrSky X SPI code affecting RX range.
2020-08-12 00:32:17 +12:00
Michael Keller
77ceda89c4
Merge pull request #10062 from mikeller/fix_cms_lockup
...
Fixed lockup when entering CMS.
2020-08-11 23:09:09 +12:00
Nicola De Pasquale
d0fe84528a
using same curve of dyn dterm lpf
2020-08-08 15:36:28 +02:00
Nicola De Pasquale
988024ee4e
updated dynThrottle curve
2020-08-07 15:28:36 +02:00
John Polstra
72f6934202
Fix a format/argument mismatch in a call to tfp_sprintf(). The call
...
contained an extra argument for which there was no corresponding format
specification.
2020-08-06 10:51:34 -07:00
mikeller
dad63b6d14
Improvements from @ledvinap.
2020-08-06 05:59:23 +12:00
mikeller
d8e3aa7e2d
Fixed lockup when entering CMS.
2020-08-06 05:59:23 +12:00
Michael Keller
b1af9befe5
Merge pull request #10071 from mikeller/add_board_info_to_cms
...
Added board information to CMS 'firmware' menu.
2020-08-06 05:57:02 +12:00
Asizon
8231c024de
Added vbat_sag_compensation to Blackbox header
2020-08-05 12:08:51 +02:00
Michael Keller
b488d388ba
Merge pull request #10075 from haslinghuis/crsf-cms-fixed
...
Fixed crsf-cms
2020-08-05 06:54:06 +12:00
haslinghuis
acf87e972f
Fixed crsf-cms (removed optimization for now)
2020-08-03 19:43:30 +02:00