Michael Keller
621bb8ea55
Merge pull request #9876 from mikeller/fix_custom_defaults_header_parsing
...
Fixed parsing of over length custom default headers.
2020-06-03 07:08:25 +12:00
Michael Keller
9eb97ea78d
Merge pull request #9875 from mikeller/move_box_init_to_activate_config
...
Moved calculation of available boxes into 'activateConfig()' to avoid a reboot.
2020-06-03 07:06:33 +12:00
Michael Keller
dd261f823e
Merge pull request #9874 from mikeller/add_test_version_dump
...
Added Makefile target to dump compiler versions used to build tests.
2020-06-03 07:06:12 +12:00
Michael Keller
ad11592011
Merge pull request #9870 from mikeller/add_extended_custom_defaults_stm32f745
...
Moved custom defaults to dedicated block for STM32F745.
2020-06-03 07:05:21 +12:00
Michael Keller
026bae5c1f
Merge pull request #9864 from mikeller/fix_altitude_in_msp
...
Fixed altitude output in MSP.
2020-06-03 07:04:49 +12:00
Michael Keller
4d11a14efa
Merge pull request #9857 from etracer65/blackbox_sdcard_flush_header
...
Blackbox flush SD card sector cache after writing header and before logging starts
2020-06-03 07:02:39 +12:00
Bruce Luckcuck
f65c02c5e0
Blackbox flush SD card sector cache after writing header and before logging starts
...
The normal "flush" for SD card only queues a cache sector for writing and the actual sync to the media happens asynchronously. During this period the cache entry is not available until the write completes sometime later. So as the blackbox header fields were written they end up consuming the majority of the cache. A "flush" was made before actual logging starts, but the async writes were not completing fast enough to ensure available cache sectors for the actual logging. This resulted in the cache getting overwritten and corrupting the header.
Changed to wait until the sector cache completes writing to the media before starting the actual logging. This ensures that the logging has ample cache sectors.
Changes only affect SD card logging.
2020-06-01 13:15:00 -04:00
mikeller
4b5273c34e
Fixed parsing of over length custom default headers.
2020-06-01 23:08:18 +12:00
mikeller
9ed83cf67c
Moved calculation of available boxes into 'activateConfig()' to avoid a reboot.
2020-06-01 21:08:35 +12:00
mikeller
b05599fdb8
Added Makefile target to dump compiler versions used to build tests.
2020-06-01 15:30:18 +12:00
mikeller
4923057eb3
Fixed rangefinder reading.
2020-06-01 15:19:44 +12:00
mikeller
a09ddb5f4e
Fixed pin id parsing in CLI.
2020-06-01 13:01:45 +12:00
mikeller
f0c4f6a25a
Moved custom defaults to dedicated block for STM32F745.
2020-06-01 11:57:21 +12:00
mikeller
1812eee8fd
Cleaned up 'getEstimatedVario()'.
2020-05-31 14:14:58 +12:00
mikeller
6fcde6a6fb
Updated comments in 'smartport.c' to reflect the specification.
2020-05-31 14:10:24 +12:00
mikeller
4a833cdda7
Fixed altitude output in MSP.
2020-05-31 13:58:49 +12:00
mikeller
88e8842a17
Cleaned up the output of the altitude estimation.
2020-05-31 13:56:27 +12:00
mikeller
1d79cab143
Cleaned up separation of CRSF test code.
2020-05-31 12:12:53 +12:00
Michael Keller
6bada9c5e9
Merge pull request #9807 from mikeller/fix_osd_device_reporting
2020-05-28 01:19:04 +12:00
Michael Keller
23a9ea4ed0
Merge pull request #9810 from mikeller/fix_i2c_pin_ownership_check
2020-05-28 01:18:05 +12:00
Michael Keller
b9b0ecca93
Merge pull request #9849 from Asizon/cms_power_settings_values
2020-05-28 01:16:09 +12:00
Michael Keller
5d3471ab61
Merge pull request #9842 from mikeller/fix_cms_int16_display
2020-05-28 01:15:34 +12:00
Tony Cabello
8bfa2cc769
Added timeout for Ublox commands
2020-05-25 17:41:26 +02:00
Asizon
85d1d18ff0
Fixing cms power settings
2020-05-25 15:11:55 +02:00
mikeller
4b52c819e9
Fixed display / editing of int16 in CMS.
2020-05-25 02:17:27 +12:00
ctzsnooze
49834c0d7f
Increase minimum gyro rpm Q to 250 for 4.2
2020-05-24 18:54:27 +10:00
fgiudice98
c2dc55c967
Fix variable name
2020-05-18 15:35:33 +02:00
fgiudice98
21ee720e0f
Add Test_zero_p_interval to BlackboxTest
2020-05-18 15:27:45 +02:00
fgiudice98
b063cb4e90
Change p_ratio to sample_rate
...
Complete refactor logging rate selection in cli, msp and blackbox code
Retains backward compatibility
Fixed tests and requested changes
Fixed blackbox device "SERIAL" not showing in cms menu and whitespace of "FLASH"
2020-05-17 23:41:44 +02:00
mikeller
c058da20b5
Fixed typo in CLI.
2020-05-18 01:32:53 +12:00
mikeller
37209b4826
Fixed pin ownership checks for I2C.
2020-05-17 12:00:56 +12:00
mikeller
98efe1a972
Fixed reporting of configured / detected OSD device.
2020-05-17 03:56:20 +12:00
Michael Keller
6aeac3caa6
Merge pull request #9785 from shellixyz/fix/frsky_crc2
2020-05-14 02:14:02 +12:00
Michael Keller
7546cad868
Merge pull request #9789 from etracer65/hal_vcp_64byte_receive_fix
2020-05-14 02:12:02 +12:00
Michael Keller
7d6e577803
Merge pull request #9790 from mikeller/fix_f7_usb_zero_lenght_packet
2020-05-14 02:10:58 +12:00
Michael Keller
be3a682756
Merge pull request #9788 from nickdbate/master
2020-05-13 01:41:22 +12:00
Michael Keller
1885e2c7e0
Merge pull request #9780 from etracer65/mspv2_buffer_overrun_check
2020-05-10 23:58:15 +12:00
Bruce Luckcuck
ea0e8ce2cf
Fix HAL USB vcp serial 64 byte packet receive bug
...
Fixes a bug in the HAL USP vcp serial logic that would cause communication to hang after receiving a packet containing exactly 64 bytes.
When a packet is exactly 64 bytes the USB specification requires an empty (0 byte) pack to be additionally sent. The receiving logic was not handling this 0 byte packet properly. The logic error would cause it to not trigger receiving he next packet and communication would stop.
2020-05-09 22:55:18 -04:00
nickdbate
3ca041243e
Update target.c
2020-05-09 21:26:09 +01:00
nickdbate
ba3929db7d
Update target.h
2020-05-09 21:11:57 +01:00
mikeller
c793adbd86
Fixed problem with USB VCP when sending packets with a length of a multiple of 64 bytes.
2020-05-10 04:10:20 +12:00
Michel Pastor
e4613f3d2f
Fix the FrSky CRC fix from #9771 (sorry)
2020-05-09 15:53:55 +02:00
Curtis Bangert
236f6706a3
CMS over CRSF compression
2020-05-08 23:11:40 -04:00
Michael Keller
7f38647215
Merge pull request #9779 from mikeller/fix_anti_gravity_mode_condition
2020-05-09 14:50:35 +12:00
Michael Keller
7f34f99986
Merge pull request #9775 from nickdbate/master
2020-05-09 13:47:30 +12:00
Bruce Luckcuck
1148ea16a1
Prevent possible buffer overrun in MSPv2 message parsing
...
The MSPv2 parsing was missing a check (present in v1) to prevent a possible buffer overrun if the payload exceeded the buffer size.
Also some code formatting cleanup.
2020-05-08 10:51:04 -04:00
nickdbate
02f23a6120
Added QMC-5883 magnetometer support to SPRACING H7 ZERO target
...
Added QMC-5883 magnetometer support to SPRACING H7 ZERO target. Duplicating pull request #9531
2020-05-07 16:38:11 +01:00
mikeller
9bace5b9d1
Fixed condition for the 'ANTI GRAVITY' mode switch to hide it wen anti-gravity is disabled.
2020-05-08 01:14:45 +12:00
Michael Keller
b2e99c6651
Merge pull request #9771 from shellixyz/fix/frsky_crc
2020-05-07 23:39:01 +12:00
Michel Pastor
347483250b
Fix CRC algo for FrSky S.Port and F.Port
2020-05-07 01:25:51 +02:00