mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
MSP command for sonar altitude
This commit is contained in:
parent
be8c6a23d9
commit
34cd8f466e
11 changed files with 78 additions and 42 deletions
|
@ -17,9 +17,14 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "io/serial.h"
|
||||
#include "drivers/serial.h"
|
||||
|
||||
// Each MSP port requires state and a receive buffer, revisit this default if someone needs more than 2 MSP ports.
|
||||
#define MAX_MSP_PORT_COUNT 2
|
||||
|
||||
void mspInit(serialConfig_t *serialConfig);
|
||||
|
||||
void mspProcess(void);
|
||||
void sendMspTelemetry(void);
|
||||
void mspSetTelemetryPort(serialPort_t *mspTelemetryPort);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue