Merge pull request #4741 from jflyper/bfdev-sonar-cleanup-stale
SONAR Remove a stale define
This commit is contained in:
commit
4f14ad0e50
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue