fix(sdl_keyboard): fix warning of the implicit declaration of function memmove (#5962)

Signed-off-by: lhdjply <lhdjply@126.com>
This commit is contained in:
lhdjply
2024-03-27 10:56:45 +08:00
committed by GitHub
parent b426209f0c
commit 45e4aa9fc3
+1 -1
View File
@@ -83,7 +83,7 @@ static void sdl_keyboard_read(lv_indev_t * indev, lv_indev_data_t * data)
dev->dummy_read = true;
data->state = LV_INDEV_STATE_PRESSED;
data->key = dev->buf[0];
memmove(dev->buf, dev->buf + 1, len);
lv_memmove(dev->buf, dev->buf + 1, len);
}
}