mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-25 15:20:31 -04:00
GPIO: Fix PinConfig -> uint16_t type conversion signature.
This commit is contained in:
parent
ad9a63a666
commit
01cd8c7776
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue