mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
GPIO: Fix PinConfig -> uint16_t type conversion signature.
This commit is contained in:
parent
ad9a63a666
commit
01cd8c7776
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user