auto-sync

This commit is contained in:
rusEfi 2016-04-03 11:02:57 -04:00
parent 9fb19ba92a
commit b4408a9f85
2 changed files with 12 additions and 0 deletions

View File

@ -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
*/

View File

@ -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