mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-25 01:04:25 +08:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user