1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00
Commit graph

854 commits

Author SHA1 Message Date
azol
420764490a fix unitest error 2020-09-28 18:10:27 +08:00
azol
2810b20c83 fix failed on testcase 2020-09-28 16:47:26 +08:00
mikeller
7836bc220c Fixed motorOutputLimitLow in blackbox and OSD. 2020-08-31 22:00:23 +12:00
mikeller
d79dcbb388 Fixed broken tests after #10080. 2020-08-25 01:17:16 +12:00
Sam Lane
4c99ad743d Rename FAST_RAM to FAST_DATA 2020-08-23 08:49:26 +01:00
limonspb
464919c416 Motor output reordering for CLI and MSP
Fixed some code formatting

+fixReorderingArray() for EEPROM load/save and renamings

fix brace new line

moving MOTOR_OUTPUT_REORDERING to MSP2 betaflight specific

validateAndfixConfig now resets reordering motor array to default in case it is invalid
2020-07-27 20:10:37 -05:00
Michael Keller
94cd650472
Merge pull request #9981 from mikeller/fix_max7456_delay_problems
Fixed the MAX7456 loop time problems introduced by #9948.
2020-07-26 15:31:16 +12:00
Michael Keller
0e28a646fd
Merge pull request #9863 from mikeller/cleanup_crsf_tests
Cleaned up separation of CRSF test code.
2020-07-26 15:30:10 +12:00
mikeller
386be8d742 Added registration for bus devices. 2020-07-08 21:34:31 +12:00
Michael Keller
41fa8754bc
Merge pull request #9633 from mikeller/remove_vbat_pid_compensation
Remove vbat pid compensation
2020-07-06 13:41:27 +12:00
mikeller
cfc89c98a8 Fixed the MAX7456 loop time problems introduced by #9948. 2020-07-05 22:00:13 +12:00
Michael Keller
4abc447ffe
Merge pull request #9960 from phobos-/f4-dsmx
Spektrum SPI protocol improvements
2020-06-30 01:03:09 +12:00
Michael Keller
a0f6a91033
Merge pull request #9803 from fgiudice98/blackbox-freq-cms 2020-06-30 00:55:16 +12:00
phobos-
0ff0220c7a spektrum spi protocol improvements 2020-06-28 13:49:18 +02:00
mikeller
b6689edc26 Removed VBat PID compensation. 2020-06-22 01:12:47 +12:00
Michael Keller
a8085bef8b
Merge pull request #9759 from etracer65/pid_init_separate
Split initialization from pid.c for flash savings
2020-06-22 00:35:42 +12:00
Michael Keller
4e7f7112d0
Merge pull request #9682 from etracer65/piniobox_task
Only enable PINIOBOX task when needed
2020-06-22 00:28:27 +12:00
mikeller
b05599fdb8 Added Makefile target to dump compiler versions used to build tests. 2020-06-01 15:30:18 +12:00
mikeller
1d79cab143 Cleaned up separation of CRSF test code. 2020-05-31 12:12:53 +12: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
Bruce Luckcuck
c06106e2d1 Split initialization from pid.c for flash savings
Move low performance requirements initialization code into pid_init.c and optimize that for size.

Saves 2688 bytes for target STM32F7X2.
2020-05-03 13:58:55 -04:00
mikeller
278ebf3aea Fixed the MS5611 baro in SPI mode. 2020-04-27 00:52:11 +12:00
Bruce Luckcuck
f688227db6 Only enable PINIOBOX task when needed
Previously the task was always enabled and there's no reason for it to be running if there are no boxID associations.

Saves a few cycles by not running. But has a bigger effect on the scheduler by minimizing the number of active tasks when possible.
2020-04-12 20:31:32 -04:00
Michael Keller
2101326a1d
Merge pull request #9619 from mikeller/add_motor_protocol_disabled
Added 'disabled' motor protocol and made it the default.
2020-04-11 12:41:18 +12:00
mikeller
489156602f Fixed unnecessarily long startup time due to gyro detection. 2020-04-07 22:20:04 +12:00
mikeller
d1ac12eccd Added 'disabled' motor protocol and made it the default. 2020-04-01 20:33:29 +13:00
mikeller
d2605975a1 Improved CLI error messages. 2020-03-23 15:18:51 +13:00
Michael Keller
ed6175b22c
Merge pull request #9597 from etracer65/iterm_windup_yaw_only
Change iterm_windup to only apply to yaw
2020-03-17 22:05:02 +13:00
Michael Keller
01f0095296
Merge pull request #9590 from mikeller/clean_up_scheduler
Cleaned up the scheduler.
2020-03-16 18:02:36 +13:00
mikeller
db4bd1f186 Cleaned up the scheduler. 2020-03-16 08:35:58 +13:00
Bruce Luckcuck
e76fd50421 Change iterm_windup to only apply to yaw
Except for when Launch Control is active - then apply to all axes.
2020-03-15 13:03:02 -04:00
Michael Keller
ea4f30c3ac
Revert "apply iterm_windup to yaw only" 2020-03-16 02:00:50 +13:00
Michael Keller
05c90001ee
Merge pull request #9580 from etracer65/cms_setup_popup
CMS dynamic setup popup menu
2020-03-15 14:14:28 +13:00
Michael Keller
04d260d620
Merge pull request #9569 from ctzsnooze/iterm-windup-setting-yaw-only
apply iterm_windup to yaw only
2020-03-15 13:52:18 +13:00
mikeller
53ba871a34 Fixed unit tests. 2020-03-14 10:19:33 +13:00
Bruce Luckcuck
ad0e7154a7 Split initialization from gyro.c for flash savings
Move low performance requirements initialization code into gyro_init.c and optimize that for size.
2020-03-13 10:08:11 -04:00
Bruce Luckcuck
265d6dde2b CMS dynamic setup popup menu
Adds a dynamically constructed menu that will appear before the main menu when the user enters CMS if there are any outstanding setup items to complete. Currently only includes entry to calibrate the ACC if required, but provides a framework for other setup reminders as needed. The user can choose to exit this menu without remedying the problems, but the menu will reappear when they next enter CMS. If there are no required setup items then the menu will be skipped and the user will go straight to the main menu.
2020-03-12 11:45:44 -04:00
mikeller
d13e83b91b Cleaned up the RX handler some. 2020-03-10 00:55:52 +13:00
mikeller
dc5671f34c Added protocol level RX frame rate measurement for FrSky FPort. 2020-03-06 09:35:00 +13:00
Michael Keller
c984107291
Merge pull request #9482 from ctzsnooze/Revert-iTerm-Relax
Restore proper behaviour of iterm_relax_cutoff in setpoint mode
2020-02-17 08:11:26 +13:00
Michael Keller
b96649ef76
Merge pull request #9481 from phobos-/nfe-racemode
NFE Race Mode
2020-02-17 08:08:59 +13:00
phobos-
8ce268d5f1 Implemented NFE Race Mode 2020-02-16 13:46:08 +01:00
mikeller
bc4701aebf Simplified the calculations, fixed tests. 2020-02-16 10:34:31 +13:00
mikeller
214d378e82 Detect revisions of the STM32H743. 2020-02-15 12:35:57 +13:00
AlessandroAU
925101cdb2 add crsf rf_mode parameter to osd display
make osdRFmode = 0 default

changes as requested

fixed formatting and unittests

remove 3.41 scaling on crsf LQ and simply osd drawing function

Update rx.c

changed loop to only go to 99 instead of 300
2020-02-13 02:52:18 +10:00
Michael Keller
19fa0f7c23
Merge pull request #9449 from etracer65/blackbox_32k_cleanup
Blackbox 32K code cleanup
2020-02-06 17:07:26 +13:00
Bruce Luckcuck
f29440957d Blackbox 32K code cleanup
Cleaning up some missed 32K specific code.
2020-02-04 18:30:30 -05:00
Bruce Luckcuck
f584780944 Gyro native rate sampling, filtering, and scheduler restructuring 2020-02-04 18:19:35 -05:00