Files for pysimCoder on nucleo-h743zi2
This commit is contained in:
parent
e6708bcb4b
commit
795d35e2cd
|
@ -67,7 +67,7 @@
|
||||||
* ADC1: {5, 10, 12, 13, 15};
|
* ADC1: {5, 10, 12, 13, 15};
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static const uint8_t g_adc1_chanlist[ADC1_NCHANNELS] =
|
static const uint8_t g_adc1_chanlist[ADC1_NCHANNELS] =
|
||||||
{
|
{
|
||||||
5, 10, 12, 13, 15
|
5, 10, 12, 13, 15
|
||||||
};
|
};
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
|
|
||||||
int stm32_qencoder_initialize(const char *devpath, int timer)
|
int stm32_qencoder_initialize(const char *devpath, int timer)
|
||||||
{
|
{
|
||||||
int ret = 0;
|
int ret;
|
||||||
|
|
||||||
/* Initialize a quadrature encoder interface. */
|
/* Initialize a quadrature encoder interface. */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue