Skip to content

Commit

Permalink
refactor(display): Move to proper SPI ready API.
Browse files Browse the repository at this point in the history
  • Loading branch information
petejohanson committed Feb 6, 2024
1 parent 3890946 commit a0ca3dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/module/drivers/display/il0323.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit a0ca3dc

Please sign in to comment.