auto-sync
This commit is contained in:
parent
9fb19ba92a
commit
b4408a9f85
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue