Merge pull request #4741 from jflyper/bfdev-sonar-cleanup-stale

SONAR Remove a stale define
This commit is contained in:
Michael Keller 2017-12-12 14:48:04 +13:00 committed by GitHub
commit 4f14ad0e50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -31,8 +31,6 @@ typedef struct sonarRange_s {
int16_t detectionConeExtendedDeciDegrees; // device spec is conservative, in practice have slightly larger detection cone int16_t detectionConeExtendedDeciDegrees; // device spec is conservative, in practice have slightly larger detection cone
} sonarRange_t; } sonarRange_t;
#define SONAR_GPIO GPIOB
#define HCSR04_MAX_RANGE_CM 400 // 4m, from HC-SR04 spec sheet #define HCSR04_MAX_RANGE_CM 400 // 4m, from HC-SR04 spec sheet
#define HCSR04_DETECTION_CONE_DECIDEGREES 300 // recommended cone angle30 degrees, from HC-SR04 spec sheet #define HCSR04_DETECTION_CONE_DECIDEGREES 300 // recommended cone angle30 degrees, from HC-SR04 spec sheet
#define HCSR04_DETECTION_CONE_EXTENDED_DECIDEGREES 450 // in practice 45 degrees seems to work well #define HCSR04_DETECTION_CONE_EXTENDED_DECIDEGREES 450 // in practice 45 degrees seems to work well