From 8c6096e66b22bc3fee51371920a369a461a4c76d Mon Sep 17 00:00:00 2001 From: rusefi Date: Sun, 26 Mar 2017 23:26:50 -0400 Subject: [PATCH] fixed #336 --- firmware/hw_layer/pin_repository.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/firmware/hw_layer/pin_repository.cpp b/firmware/hw_layer/pin_repository.cpp index d889ad4591..2bff2e4adc 100644 --- a/firmware/hw_layer/pin_repository.cpp +++ b/firmware/hw_layer/pin_repository.cpp @@ -202,11 +202,8 @@ void mySetPadMode(const char *msg, ioportid_t port, ioportmask_t pin, iomode_t m } if (port == GPIO_NULL) return; - print("%s on %s:%d\r\n", msg, portname(port), pin); - appendPrintf(&logger, "msg,%s", msg); - appendPrintf(&logger, " on %s%d%s", portname(port), pin, DELIMETER); - printLine(&logger); + scheduleMsg(&logger, "%s on %s%d", msg, portname(port), pin); int index = getIndex(port, pin);