mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-26 17:55:28 +03:00
PORT103R - Initial support for the Waveshare Port 103R development
board.
This commit is contained in:
parent
848a35ff40
commit
d0f622bb81
5 changed files with 117 additions and 5 deletions
|
@ -39,7 +39,7 @@ int32_t sonarAlt = -1; // in cm , -1 indicate sonar is not in range
|
|||
|
||||
void Sonar_init(void)
|
||||
{
|
||||
#if defined(NAZE) || defined(EUSTM32F103RC)
|
||||
#if defined(NAZE) || defined(EUSTM32F103RC) || defined(PORT103R)
|
||||
static const sonarHardware_t const sonarPWM56 = {
|
||||
.trigger_pin = Pin_8, // PWM5 (PB8) - 5v tolerant
|
||||
.echo_pin = Pin_9, // PWM6 (PB9) - 5v tolerant
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue