Browse Source

Calibration: fix checking of scan of calibration points

PFW-1223
DESKTOP-AFI832L\admin 3 years ago
parent
commit
5a91e1de4d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Firmware/xyzcal.cpp

+ 1 - 1
Firmware/xyzcal.cpp

@@ -918,7 +918,7 @@ bool check_scan(uint8_t *matrix32){
 	for (int16_t i = 0; i < 32*32;++i){
 		if (matrix32[i] == 0) {
 			++mins;
-		} else {
+		} else if (matrix32[i] == 0xFF){
 			++maxs;
 		}
 	}