mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 02:36:11 +08:00
STM32F4 Discovery: Fix issues with QEncoder support
This commit is contained in:
committed by
Gregory Nutt
parent
bd538d22be
commit
8ca41b2d7a
@@ -24,7 +24,7 @@ config STM32F4DISCO_USBHOST_PRIO
|
|||||||
|
|
||||||
config STM32F4DISCO_QETIMER
|
config STM32F4DISCO_QETIMER
|
||||||
int "Timer to use with QE encoder"
|
int "Timer to use with QE encoder"
|
||||||
default 3
|
default 2
|
||||||
depends on QENCODER
|
depends on QENCODER
|
||||||
|
|
||||||
config PM_BUTTONS
|
config PM_BUTTONS
|
||||||
|
|||||||
@@ -78,5 +78,3 @@ int stm32_qencoder_initialize(FAR const char *devpath, int timer)
|
|||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* HAVE_QENCODER */
|
|
||||||
|
|||||||
Reference in New Issue
Block a user