Skip to content

Commit 7200957

Browse files
committed
fix(light): lower down black detection
1 parent 3171b82 commit 7200957

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Modulino.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ class ModulinoLight : public Module {
749749
if (l > 90.0) {
750750
return "WHITE";
751751
}
752-
if (l < 10.0) {
752+
if (l <= 0.20) {
753753
return "BLACK";
754754
}
755755
if (s < 10.0) {

0 commit comments

Comments
 (0)