You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 5, 2019. It is now read-only.
As I have hit similar issue with the GPIO API, I vote for @smaillet-ms suggestion in #464 (comment) to change the type of the alternate parameter in CPU_GPIO_DisablePin function from GPIO_ALT_MODE to UINT32, and add inline function for backward compatibility:
Well, that's even simpler than the idea of using a strongly typed enum - works for me! Send a PR, but we'll need to get the build succeeding on all platforms before it can be merged in. (At this point in time The GCC builds for MCBSTM32F400 are failing).
It requires some compiler settings so is more work to get functional in NETMF. The solution posted here skips all that rather nicely so I wouldn't bother with the strongly typed enum.
As I have hit similar issue with the GPIO API, I vote for @smaillet-ms suggestion in #464 (comment) to change the type of the alternate parameter in
CPU_GPIO_DisablePin
function fromGPIO_ALT_MODE
toUINT32
, and add inline function for backward compatibility:The text was updated successfully, but these errors were encountered: