Browse Source

fix(power): Fix for 2.4 API changes.

xmkb
Pete Johanson 4 years ago
parent
commit
d698847769
  1. 2
      app/src/ext_power_generic.c

2
app/src/ext_power_generic.c

@ -178,7 +178,7 @@ static int ext_power_generic_init(const struct device *dev) { @@ -178,7 +178,7 @@ static int ext_power_generic_init(const struct device *dev) {
static int ext_power_generic_pm_control(const struct device *dev, uint32_t ctrl_command,
void *context, device_pm_cb cb, void *arg) {
int rc;
struct ext_power_generic_data *data = dev->driver_data;
struct ext_power_generic_data *data = dev->data;
switch (ctrl_command) {
case DEVICE_PM_SET_POWER_STATE:

Loading…
Cancel
Save