|
|
|
@ -43,7 +43,7 @@ |
|
|
|
#define REF_MIN_LINE_VAL 0x100 /* minimum value indicating a line */ |
|
|
|
#define REF_MIN_LINE_VAL 0x100 /* minimum value indicating a line */ |
|
|
|
#define REF_MIN_NOISE_VAL 0x40 /* values below this are not added to the weighted sum */ |
|
|
|
#define REF_MIN_NOISE_VAL 0x40 /* values below this are not added to the weighted sum */ |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#define REF_SENSOR_TIMEOUT_US 300 /* after this time, consider no reflection (black). Must be smaller than the timeout period of the RefCnt timer! */ |
|
|
|
#define REF_SENSOR_TIMEOUT_US 400 /* after this time, consider no reflection (black). Must be smaller than the timeout period of the RefCnt timer! */ |
|
|
|
#else |
|
|
|
#else |
|
|
|
#error "unknown configuration!" |
|
|
|
#error "unknown configuration!" |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|