TFT examples updated.

This commit is contained in:
Serge Vakulenko
2015-10-06 19:02:00 -07:00
parent 21c5beb7a6
commit 61cc452f1b
5 changed files with 59 additions and 103 deletions

View File

@@ -30,7 +30,7 @@ void gpanel_circle(int color, int x, int y, int radius)
param.color = color;
param.x = x;
param.y = x;
param.y = y;
param.radius = radius;
ioctl(_gpanel_fd, GPANEL_CIRCLE, &param);
}

View File

@@ -29,7 +29,7 @@ void gpanel_image(int x, int y, int width, int height, const unsigned short *dat
struct gpanel_image_t param;
param.x = x;
param.y = x;
param.y = y;
param.width = width;
param.height = height;
param.image = data;

View File

@@ -30,6 +30,6 @@ void gpanel_pixel(int color, int x, int y)
param.color = color;
param.x = x;
param.y = x;
param.y = y;
ioctl(_gpanel_fd, GPANEL_PIXEL, &param);
}