add interpolation on cal

This commit is contained in:
TT 2017-09-15 22:13:17 +09:00
parent 0ce695b886
commit 774a11ae74
5 changed files with 90 additions and 4 deletions

2
plot.c
View file

@ -1328,6 +1328,8 @@ draw_cal_status(void)
ili9341_fill(0, y, 10, 6*YSTEP, 0x0000);
if (cal_status & CALSTAT_APPLY) {
char c[3] = "C0";
if (cal_status & CALSTAT_INTERPOLATED)
c[0] = 'c';
if (active_props == &current_props)
c[1] = '*';
else