diff --git a/firmware/hw_layer/pin_repository.cpp b/firmware/hw_layer/pin_repository.cpp index f5d01aae3b..34a4287a90 100644 --- a/firmware/hw_layer/pin_repository.cpp +++ b/firmware/hw_layer/pin_repository.cpp @@ -17,6 +17,7 @@ #include "rusefi.h" #define PIN_REPO_SIZE 7 * PORT_SIZE +// todo: move this into PinRepository class const char *PIN_USED[PIN_REPO_SIZE]; static int initialized = FALSE; @@ -32,6 +33,10 @@ static ioportid_t ports[7] = {GPIOA, GPIOH, }; +PinRepository::PinRepository() { + +} + /** * @deprecated - use hwPortname() instead */ diff --git a/firmware/hw_layer/pin_repository.h b/firmware/hw_layer/pin_repository.h index c5e697f58c..29cbda008d 100644 --- a/firmware/hw_layer/pin_repository.h +++ b/firmware/hw_layer/pin_repository.h @@ -19,6 +19,13 @@ #include "efiGpio.h" // does not exactly belong here, but that works better for tests void outputPinRegister(const char *msg, OutputPin *output, ioportid_t port, uint32_t pin); + +class PinRepository { + public: + PinRepository(); + +}; + #endif /* __cplusplus */ #define PORT_SIZE 16