drivers: auxdisplay: Fix jhd1313 compilation issues
Added several missing undeclared config variables causing the driver to not compile properly. Fixes #59078. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
parent
f220e26703
commit
f307e200c2
1 changed files with 3 additions and 0 deletions
|
@ -110,6 +110,7 @@ static int auxdisplay_jhd1313_cursor_position_set(const struct device *dev,
|
|||
enum auxdisplay_position type, int16_t x,
|
||||
int16_t y)
|
||||
{
|
||||
const struct auxdisplay_jhd1313_config *config = dev->config;
|
||||
unsigned char data[2];
|
||||
|
||||
if (type != AUXDISPLAY_POSITION_ABSOLUTE) {
|
||||
|
@ -306,6 +307,7 @@ static int auxdisplay_jhd1313_initialize(const struct device *dev)
|
|||
|
||||
static int auxdisplay_jhd1313_display_on(const struct device *dev)
|
||||
{
|
||||
const struct auxdisplay_jhd1313_config *config = dev->config;
|
||||
struct auxdisplay_jhd1313_data *data = dev->data;
|
||||
|
||||
data->power = true;
|
||||
|
@ -314,6 +316,7 @@ static int auxdisplay_jhd1313_display_on(const struct device *dev)
|
|||
|
||||
static int auxdisplay_jhd1313_display_off(const struct device *dev)
|
||||
{
|
||||
const struct auxdisplay_jhd1313_config *config = dev->config;
|
||||
struct auxdisplay_jhd1313_data *data = dev->data;
|
||||
|
||||
data->power = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue