auto-sync

This commit is contained in:
rusEfi 2015-01-02 19:03:42 -06:00
parent 4e3beb54a3
commit d004ac4d75
1 changed files with 3 additions and 1 deletions

View File

@ -127,7 +127,7 @@ void initPinRepository(void) {
*/
initLogging(&logger, "pin repos");
msObjectInit(&portNameStream, (uint8_t*)portNameBuffer, sizeof(portNameBuffer), 0);
msObjectInit(&portNameStream, (uint8_t*) portNameBuffer, sizeof(portNameBuffer), 0);
for (int i = 0; i < PIN_REPO_SIZE; i++)
PIN_USED[i] = 0;
@ -152,6 +152,8 @@ void mySetPadMode(const char *msg, ioportid_t port, ioportmask_t pin, iomode_t m
firmwareError("repository not initialized");
return;
}
if (GPIO_NULL == NULL)
return;
print("%s on %s:%d\r\n", msg, portname(port), pin);
appendPrintf(&logger, "msg,%s", msg);