Upgrade LVGL vendored to v7.10.1

This commit is contained in:
Rafael Caricio 2021-03-07 18:25:05 +01:00
parent ab8b8ae05f
commit 294b84b490
Signed by: rafaelcaricio
GPG key ID: 3C86DBCE8E93C947
5 changed files with 11 additions and 11 deletions

View file

@ -9,10 +9,10 @@ license = "MIT"
repository = "https://github.com/rafaelcaricio/lvgl-rs" repository = "https://github.com/rafaelcaricio/lvgl-rs"
[dependencies] [dependencies]
regex = "1.3.9" regex = "1.4.3"
quote = "1.0.7" quote = "1.0.9"
lazy_static = "1.4.0" lazy_static = "1.4.0"
proc-macro2 = "1.0.18" proc-macro2 = "1.0.24"
Inflector = "0.11.4" Inflector = "0.11.4"
syn = { version = "1.0.31", features = ["full"]} syn = { version = "1.0.62", features = ["full"]}

View file

@ -20,5 +20,5 @@ name = "lvgl_sys"
cty = "0.2.1" cty = "0.2.1"
[build-dependencies] [build-dependencies]
cc = "1.0.50" cc = "1.0.67"
bindgen = "0.54.0" bindgen = "0.57.0"

@ -1 +1 @@
Subproject commit 1ca1934dbe8e826ef1ed1690005fb678fea3a1f3 Subproject commit 524709472757405ac0eef8d6d002632526430df3

View file

@ -15,12 +15,12 @@ build = "build.rs"
lvgl-sys = { version = "0.5.2", path = "../lvgl-sys" } lvgl-sys = { version = "0.5.2", path = "../lvgl-sys" }
cty = "0.2.1" cty = "0.2.1"
embedded-graphics = "0.6.2" embedded-graphics = "0.6.2"
cstr_core = "0.2.0" cstr_core = "0.2.3"
bitflags = "1.2.1" bitflags = "1.2.1"
[build-dependencies] [build-dependencies]
quote = "1.0.7" quote = "1.0.9"
proc-macro2 = "1.0.18" proc-macro2 = "1.0.24"
lvgl-codegen = { version = "0.5.2", path = "../lvgl-codegen" } lvgl-codegen = { version = "0.5.2", path = "../lvgl-codegen" }
lvgl-sys = { version = "0.5.2", path = "../lvgl-sys" } lvgl-sys = { version = "0.5.2", path = "../lvgl-sys" }

View file

@ -43,7 +43,7 @@ where
C: PixelColor + From<Color>, C: PixelColor + From<Color>,
{ {
pub fn init() -> LvResult<Self> { pub fn init() -> LvResult<Self> {
if !LVGL_IN_USE.compare_exchange(false, true, Ordering::SeqCst, Ordering::Relaxed) { if !LVGL_IN_USE.compare_and_swap(false, true, Ordering::SeqCst) {
unsafe { unsafe {
lvgl_sys::lv_init(); lvgl_sys::lv_init();
} }