GPIO: Fix PinConfig -> uint16_t type conversion signature.

This commit is contained in:
Jared Boone 2016-12-21 22:24:07 -08:00
parent ad9a63a666
commit 01cd8c7776

View File

@ -35,7 +35,7 @@ struct PinConfig {
const uint32_t input;
const uint32_t ifilt;
constexpr operator uint16_t() {
constexpr operator uint16_t() const {
return
(((~ifilt) & 1) << 7)
| ((input & 1) << 6)