Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thirdpin/libopencm3_cpp_extensions.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cm3cpp/private/pinout.h3
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 \