diff --git a/libraries/zf_device/zf_device_ips200.c b/libraries/zf_device/zf_device_ips200.c index d71a1c0..99b7c99 100644 --- a/libraries/zf_device/zf_device_ips200.c +++ b/libraries/zf_device/zf_device_ips200.c @@ -326,8 +326,8 @@ static void ips200_set_region(uint16 x1, uint16 y1, uint16 x2, uint16 y2) ips200_write_16bit_data(x2+80); ips200_write_command(0x2b); - ips200_write_16bit_data(y1+20); - ips200_write_16bit_data(y2+20); + ips200_write_16bit_data(y1); + ips200_write_16bit_data(y2); ips200_write_command(0x2c); }