Rfm22b: fix double promotion
PyMite: fix double promotion