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

89 commits

Author SHA1 Message Date
Martin Budden
93cab8805b Call serial frame status functions via pointer rather than switch statement.
Added type specific serial build flags as per iNav for finer grain ROM size control for F1 targets.
Improved efficiency of rxUpdateCheck function.
2016-11-11 21:08:05 +00:00
Martin Budden
013455bb21 Fixed warnings in fc_msp.c 2016-11-10 17:53:07 +00:00
Martin Budden
020bbacf03 Minor code tidy for easier comparison with iNav 2016-11-10 10:11:25 +00:00
Martin Budden
8edcaeb42a Minor code rearrangement for easier comparison with iNav 2016-11-10 07:00:19 +00:00
Martin Budden
a7a428a5bb Code tidy and addition of GPL headers 2016-11-06 10:29:11 +00:00
jflyper
e9a2f2b2c1 Merge remote-tracking branch 'betaflight/master' into bfdev-osd-cms-separation-poc 2016-11-06 02:43:24 +09:00
blckmn
e56f915018 Moving LED strip to be configurable via resource command 2016-11-05 13:35:20 +11:00
jflyper
f58f7f65b1 Cleanups 2016-11-02 09:12:37 +09:00
jflyper
8816678333 Rebased on to master 2016-10-29 02:01:48 +09:00
jflyper
720a841008 More displayPort_t, CANVAS as new feature, multi-display cycling
- Further touch-ups with displayPort_t handling.
- CANVAS is a FEATURE now.
- Device specific xxxCmsInit() are registered by device’s init, and
called by CMS upon entry to menu.
- Multiple display devices can be cycled by entering menu invocation
command while in menu.
- The menu invocation command is (was) changed to THR-Mid + YAW-Left +
Pitch-Full to avoid collision with MWOSD menu invocation command.
- More separation attempt.
2016-10-28 13:22:28 +09:00
gaelj
431295ab21 Enable using of any RC channel to set the color hue modifier.
Can be set via MSP (bumped to version 22)
New CLI command: mode_color 7 0 AUX_Channel
AUX_Channel:
    ROLL = 0
    PITCH = 1
    YAW = 2
    THROTTLE = 3
    AUX1 = 4
    AUX2 = 5
    AUX3 = 6
    AUX4 = 7
    AUX5 = 8
    AUX6 = 9
    AUX7 = 10
    AUX8 = 11

Fixed CLI defaults printing for #1019.
2016-10-28 11:31:16 +13:00
Michael Keller
0a4648c03e Fixed motor value translation to / from MSP for DShot.
Fixed 'stopMotors' (used in 'HardfaultHandler' to actually stop motors with DShot. Also made 'disarmMotorOutput' used consistently.

Renamed functions to be more clear.
2016-10-27 08:31:00 +13:00
Martin Budden
58c85029d6 Removed unnecessary #includes 2016-10-26 05:15:26 +01:00
jflyper
482dbe316b Rebased again ... 2016-10-26 03:22:12 +09:00
borisbstyle
10ec59bd45 Merge pull request #1387 from martinbudden/bf_msp_init
Improved MSP initialisation and independence from serial code
2016-10-25 16:07:29 +02:00
borisbstyle
f79896b1bd Add DSHOT300
Bool check for dshot protocol

Add dshot300 to init

ident
2016-10-25 13:05:03 +02:00
jflyper
38660aa8a6 Touch-ups, tidy, bandwidth mgmt on serial canvas 2016-10-25 14:34:08 +09:00
Martin Budden
6aa40846fe Improved MSP initialisation and independence from serial code 2016-10-24 18:49:08 +01:00
jflyper
6a6fd07dfb Rebased (streamBuf) 2016-10-24 02:30:29 +09:00
jflyper
6cf9086f56 CMS-OSD separation 2016-10-23 19:03:35 +09:00
blckmn
8015120866 Added check on motor being enabled in MSP output to ensure only motors enabled are shown in configurator 2016-10-23 14:18:50 +11:00
borisbstyle
f19b508cd4 Nicer DSHOT MSP handling 2016-10-23 00:53:32 +02:00
borisbstyle
8a959d356a Workaround for DSHOT motor test 2016-10-22 02:02:15 +02:00
borisbstyle
449d26efee Fix bug with double pwm protocol SET in MSP 2016-10-21 23:36:29 +02:00
Martin Budden
d8da70e3f6 Fixed jumbo frame handling 2016-10-20 16:44:58 +01:00
jflyper
7f2ebbd2fa Touch ups 2016-10-20 23:49:24 +09:00
jflyper
b2a682b2ea Merge remote-tracking branch 'origin/bfdev-osd-cms-separation-poc' into bfdev-osd-cms-separation-poc 2016-10-20 23:27:08 +09:00
jflyper
0249443862 Rebased onto super-abstracted msp 2016-10-20 23:21:32 +09:00
jflyper
01eab00fd7 Configuration Menu System support for external OSD
A quick hack to support config menu on external OSD, consisiting of:

- CMS-OSD partial separation (CMS and OSD reside in a same file: osd.c)
- MSP message injection (take it as server-push in client-server model)
2016-10-20 22:42:39 +09:00
Martin Budden
92c3fb7d8d Tidied serializeDataflashReadReply 2016-10-20 13:27:49 +01:00
Martin Budden
613239b8c8 Split MSP_WP command into separate function 2016-10-20 13:27:49 +01:00
Martin Budden
1edb0fe33d Split out MSP_DATAFLASH_READ command into separate function 2016-10-20 13:27:49 +01:00
Martin Budden
e78b544139 Fixed unused src warning when not using flash 2016-10-20 13:27:49 +01:00
Martin Budden
b62afbefd8 First cut of MSP using streambuf 2016-10-20 13:27:49 +01:00
borisbstyle
706897c187 Convert mixer to float math 2016-10-20 09:05:52 +02:00
borisbstyle
5e3c974d64 Remove Legacy Pid Controller 2016-10-18 16:49:16 +02:00
Martin Budden
a771280b50 Moved config.c from config directory to fc directory 2016-10-18 08:57:39 +01:00
borisbstyle
bfc5832149 Merge branch 'master' into development 2016-10-17 11:09:03 +02:00
Martin Budden
5f791cef77 Renamed some MSP related files 2016-10-16 11:13:38 +01:00
Renamed from src/main/msp/msp_server_fc.c (Browse further)