mirror of
https://github.com/yuri91/ili9341-rs.git
synced 2024-11-21 22:30:59 +00:00
Shrink row buffer to the previous capacity
This commit is contained in:
parent
11c4a5ca34
commit
f958482f98
1 changed files with 1 additions and 1 deletions
|
@ -304,7 +304,7 @@ where
|
||||||
where
|
where
|
||||||
T: IntoIterator<Item = drawable::Pixel<Rgb565>>,
|
T: IntoIterator<Item = drawable::Pixel<Rgb565>>,
|
||||||
{
|
{
|
||||||
const BUF_SIZE: usize = 64;
|
const BUF_SIZE: usize = 32;
|
||||||
|
|
||||||
let mut row: [u16; BUF_SIZE] = [0; BUF_SIZE];
|
let mut row: [u16; BUF_SIZE] = [0; BUF_SIZE];
|
||||||
let mut i = 0;
|
let mut i = 0;
|
||||||
|
|
Loading…
Reference in a new issue