Cast around warnings in stm32_enc_init() and stm32_enc_set_counter().
Merge pull request #55 from smartavionics/mb-misc-mods

Cast around warnings in stm32_enc_init() and stm32_enc_set_counter().
Merge branch 'master' of github.com:elua/elua