1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 12:55:19 +03:00
Commit graph

15974 commits

Author SHA1 Message Date
mikeller
4923057eb3 Fixed rangefinder reading. 2020-06-01 15:19:44 +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
5433097d13
Merge pull request #9845 from x4FF3/master 2020-05-28 01:17:08 +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
Michael Keller
324137e821
Merge pull request #9850 from TonyBlit/fix_gps_timeout 2020-05-28 01:14:33 +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
Michael Keller
7a56042a7e
Merge pull request #9841 from ctzsnooze/gyro-rpm-Q-min-to-250 2020-05-26 00:41:45 +12:00
x4FF3
5679b76d40 Add ApexF7 docs 2020-05-24 22:33:03 +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
Michael Keller
c36728bbc3
Merge pull request #9813 from Plasmabot1/Plasmabot1-update-ledstrip-docs 2020-05-24 18:22:38 +12:00
Michael Keller
42929b7e0e
Merge pull request #9816 from mikeller/fix_typo 2020-05-24 17:58:17 +12:00
mikeller
c058da20b5 Fixed typo in CLI. 2020-05-18 01:32:53 +12:00
Anhad Sawhney
b292a2b626
Better description of animations
Updated larson scanner, thrust ring
2020-05-17 00:35:23 -04: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
Nick Bate
8c57ae7252
Merge pull request #1 from betaflight/master
align with master
2020-05-09 20:57:32 +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
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
nickdbate
f5cf84a5d6 Added QMC-5883 magnetometer support to SPRACING H7 NANO target
Added QMC-5883 magnetometer support to SPRACING H7 NANO target. Duplicating pull request #9531
2020-05-06 20:53:37 +01:00
Michael Keller
061f379654
Merge pull request #9765 from etracer65/gyro_driver_size_optimization 2020-05-07 02:17:36 +12:00
Michael Keller
0723691030
Merge pull request #9758 from phobos-/osd-rpm-fix 2020-05-07 02:16:50 +12:00
Michael Keller
aece9a226a
Merge pull request #9764 from mikeller/added_test_target_instructions 2020-05-07 01:32:09 +12:00
Bruce Luckcuck
f3c1e4e07f Change gyro driver initialize-only files to size-optimized
The following driver files only contain initialization and configuration fuctions and were erroneously set up for speed-optimization. Moving them to size-optimization saves significant space. They all share common runtime functions contained in `drivers/accgyro/accgyro_mpu.c` which is correctly speed-optimized.

```
drivers/accgyro/accgyro_mpu6050.c
drivers/accgyro/accgyro_mpu6500.c
drivers/accgyro/accgyro_spi_mpu6000.c
drivers/accgyro/accgyro_spi_mpu6500.c
drivers/accgyro/accgyro_spi_mpu9250.c
drivers/accgyro/accgyro_spi_icm20689.c
```

Also added explicit `#ifdef USE_` around the code of some of the drivers missing it. Doesn't result in any space savings as the compiler optimizes out the unused functions. But better in the long-term as it will flag any cases where the code might be called without proper bounding.

Saves 10704 bytes on STM32F7X2.
2020-05-04 16:43:47 -04:00
mikeller
103712855c Added instructions for how to add test targets to pull requests. 2020-05-05 00:24:51 +12:00
phobos-
ad39dc4839 Fixed max esc rpm osd statistic when dshot telemetry is enabled 2020-05-04 13:50:13 +02:00
Michael Keller
8d45795375
Merge pull request #9751 from mikeller/fix_cms_git_revision_display 2020-05-04 22:43:04 +12:00
Michael Keller
f7087dca8c
Merge pull request #9757 from mikeller/add_clean_to_unified_zip 2020-05-04 22:42:34 +12:00
mikeller
b1d2c4483e Add 'clean' target to 'unified_zip' Makefile target. 2020-05-03 15:55:46 +12:00
mikeller
a90147cefb Fixed the display of lowercase characters in the git revision string in CMS. 2020-05-02 19:10:35 +12:00
Michael Keller
3271ee3e13
Merge pull request #9742 from mikeller/fix_spi_transaction_support 2020-05-02 16:38:04 +12:00
mikeller
da43a39e3e Fixed support for USE_SPI_TRANSACTION. 2020-05-01 00:21:42 +12:00