1
0
Fork 0
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:
Dominic Clifton 2014-11-10 00:53:48 +01:00
parent 848a35ff40
commit d0f622bb81
5 changed files with 117 additions and 5 deletions

View file

@ -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