mirror of
https://github.com/sipeed/Maixduino.git
synced 2026-03-24 10:56:59 +01:00
15 lines
228 B
C
15 lines
228 B
C
#ifndef __TSCAL_H
|
|
#define __TSCAL_H
|
|
|
|
#include <stdio.h>
|
|
|
|
struct tscal_t
|
|
{
|
|
int x[5], xfb[5];
|
|
int y[5], yfb[5];
|
|
int a[7];
|
|
};
|
|
|
|
int do_tscal(struct ts_ns2009_pdata_t *ts_ns2009_pdata, int w, int h, int* cal_ret);
|
|
|
|
#endif |