diff options
author | Alexandroviliav <50292957+Alexandroviliav@users.noreply.github.com> | 2020-12-25 09:18:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-25 09:18:50 +0300 |
commit | 614f46f453459a3db3ba5c1b2e21d5109e35a9b3 (patch) | |
tree | 7513c8263bce126eeac415691de75a3d98eefd06 | |
parent | 6aceb78b83d1390c73ca395a297fa60c8a4de151 (diff) | |
parent | becd58b3e3d591a6686938959bcc93cde421973e (diff) |
Compilation fails because of pinout macros
-rw-r--r-- | cm3cpp/private/pinout.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cm3cpp/private/pinout.h b/cm3cpp/private/pinout.h index dfb0841..3416656 100644 --- a/cm3cpp/private/pinout.h +++ b/cm3cpp/private/pinout.h @@ -3,7 +3,8 @@ #define PINOUT_CTOR(port, pin) \ { \ - static_cast<Pinout::Port>(GPIO##port), GPIO##pin, pin \ + static_cast<::cm3cpp::gpio::Gpio::Pinout::Port>(GPIO##port), \ + GPIO##pin, pin, \ } #define PNULL \ |