test: add c/sensor.c source fixture
This commit is contained in:
5
c/sensor.c
Normal file
5
c/sensor.c
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
int clamp_sensor(int value) {
|
||||||
|
if (value < 0) return 0;
|
||||||
|
if (value > 100) return 100;
|
||||||
|
return value;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user