Return correct status from pat9125_update_bs

This commit is contained in:
Yuri D'Elia 2020-02-06 16:39:08 +01:00
parent bd0544fe9e
commit 853bb79b6b

View File

@ -226,6 +226,7 @@ uint8_t pat9125_update_bs(void)
pat9125_b = pat9125_rd_reg(PAT9125_FRAME);
pat9125_s = pat9125_rd_reg(PAT9125_SHUTTER);
if (pat9125_PID1 == 0xff) return 0;
return 1;
}
return 0;
}