We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2505e3 commit af31e0cCopy full SHA for af31e0c
.github/workflows/ci.yml
@@ -48,6 +48,7 @@ jobs:
48
-Dsonar.host.url=https://sonarcloud.io \
49
-Dsonar.organization=friends-of-openbikesensor \
50
-Dsonar.projectKey=Friends-of-OpenBikeSensor_OpenBikeSensorFirmware \
51
+ -Dsonar.cpd.exclusions=bin/*** \
52
-Dsonar.sources=. \
53
-Dsonar.sourceEncoding=UTF-8 \
54
-Dsonar.cfamily.cache.enabled=false \
OpenBikeSensorFirmware/sensor.h
@@ -30,8 +30,8 @@ const uint8_t MEDIAN_DISTANCE_MEASURES = 3;
30
31
struct HCSR04SensorInfo
32
{
33
- int triggerPin = 15;
34
- int echoPin = 4;
+ uint8_t triggerPin = 15;
+ uint8_t echoPin = 4;
35
int timeout = 15000;
36
uint8_t offset = 0;
37
uint8_t distance = 0;
0 commit comments