cancel
Showing results for 
Search instead for 
Did you mean: 

[32L4R9IDISCOVERY] STM32L4R9 Discovery joystick config parameter is wrong.

Zhou JianQiang
Associate II

In Function BSP_JOY_Init, there is a line as below:

BSP_IO_ConfigPin((RIGHT_JOY_PIN | LEFT_JOY_PIN | UP_JOY_PIN | DOWN_JOY_PIN), IO_MODE_INPUT_PU);

but IO_MODE_INPUT_PU is wrong, it should be IO_MODE_INPUT , can st fix it in the next hal lib version?

3 REPLIES 3
Zhou JianQiang
Associate II

@Martin KJELDSEN​ sorry for @ you, but can you check this ?

Martin KJELDSEN
Chief III

Hi @周 剑强​,

I'll try to pass your correction on to the correct team; I'm only involved in TouchGFX.

/Martin

Hi @Martin KJELDSEN:

thank you for you reply.