test: add c/sensor.c source fixture

This commit is contained in:
2026-09-25 11:05:33 +08:00
parent 0e3e777593
commit 60541a3ba5

5
c/sensor.c Normal file
View File

@@ -0,0 +1,5 @@
int clamp_sensor(int value) {
if (value < 0) return 0;
if (value > 100) return 100;
return value;
}