diff options
author | Peter Johanson <[email protected]> | 2024-02-05 12:49:58 -0800 |
---|---|---|
committer | Pete Johanson <[email protected]> | 2024-02-09 14:32:46 -0800 |
commit | 2d6c9f797c7eb3a0eef26833303ecf1565e0bde2 (patch) | |
tree | 9345acb322435a37e1d9e10a97802f061a074fa8 | |
parent | 18e5a1a26b141b2ff25db9ade00fa68bc29e2ef6 (diff) | |
download | zmk-2d6c9f797c7eb3a0eef26833303ecf1565e0bde2.tar.gz zmk-2d6c9f797c7eb3a0eef26833303ecf1565e0bde2.zip |
refactor(display): Move to proper SPI ready API.
-rw-r--r-- | app/module/drivers/display/il0323.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/module/drivers/display/il0323.c b/app/module/drivers/display/il0323.c index 6555e5c1d9..372897aa23 100644 --- a/app/module/drivers/display/il0323.c +++ b/app/module/drivers/display/il0323.c @@ -341,7 +341,7 @@ static int il0323_controller_init(const struct device *dev) { static int il0323_init(const struct device *dev) { const struct il0323_cfg *cfg = dev->config; - if (!spi_is_ready(&cfg->spi)) { + if (!spi_is_ready_dt(&cfg->spi)) { LOG_ERR("SPI device not ready for IL0323"); return -EIO; } |