found my misprint, now tests are OK. Next is trying on MCU.

This commit is contained in:
Edward Emelianov
2025-09-10 21:10:16 +03:00
parent dfdc4222fd
commit a893589a9c
4 changed files with 60 additions and 27 deletions

View File

@@ -30,12 +30,14 @@ int main (int _U_ argc, char _U_ **argv){
MLX90640_params p;
if(!get_parameters(EEPROM, &p)) ERRX("Can't get parameters from test data");
dump_parameters(&p, &extracted_parameters);
fp_t *sp;
for(int i = 0; i < 2; ++i){
printf("Process subpage %d\n", i);
fp_t *sp = process_subpage(&p, FRAME0, i, 2);
sp = process_subpage(&p, DataFrame[i], i, 2);
if(!sp) ERRX("WTF?");
dumpIma(sp);
chkImage(sp, ToFrame[i]);
}
drawIma(sp);
return 0;
}