drivers/foc_dummy.c: fix compilation for CONFIG_MOTOR_FOC_BEMF_SENSE=y
This commit is contained in:
parent
c09f7f7864
commit
d942e373bc
|
@ -474,7 +474,7 @@ static void foc_dummy_notifier_handler(FAR struct foc_dev_s *dev)
|
|||
/* Call FOC notifier */
|
||||
|
||||
#ifdef CONFIG_MOTOR_FOC_BEMF_SENSE
|
||||
sim->cb->notifier(dev, sim->current, sim->voltage);
|
||||
sim->cb->notifier(dev, sim->current, sim->volt);
|
||||
#else
|
||||
sim->cb->notifier(dev, sim->current, NULL);
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue