TFT examples updated.
This commit is contained in:
@@ -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, ¶m);
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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, ¶m);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user