Optimization of the filament sensor.

This commit is contained in:
bubnikv 2018-01-23 16:47:42 +01:00
parent bde1996250
commit 44dc12005f
6 changed files with 111 additions and 19 deletions

View file

@ -1229,7 +1229,7 @@ void setup()
#ifdef PAT9125
void fsensor_init() {
int pat9125 = pat9125_init(PAT9125_XRES, PAT9125_YRES);
int pat9125 = pat9125_init();
printf_P(PSTR("PAT9125_init:%d\n"), pat9125);
uint8_t fsensor = eeprom_read_byte((uint8_t*)EEPROM_FSENSOR);
if (!pat9125)