rename signal to show

This commit is contained in:
2020-11-03 10:05:45 +01:00
parent 92d31980c8
commit 83c6d65172
8 changed files with 21 additions and 21 deletions

View File

@ -8,7 +8,7 @@
#include <PontCoopScheduler.h>
#include <mbusComm.h>
#include <loopCtrl.h>
#include <signal.h>
#include <show.h>
#include <logger.h>
#include <frontend.h>
@ -99,7 +99,7 @@ static void handleRequestEngine(void *handle) {
case MBCS_SEND_CONT:
logMsg("hre state SEND_CONT");
signal(LED_RED, OFF);
show(LED_RED, OFF);
if (! loopActive) {
logMsg("hre enabling loop, try %d", localMbusCommHandle->retryCnt);
localMbusCommHandle->retryCnt++;
@ -266,7 +266,7 @@ static void handleRequestEngine(void *handle) {
case MBCS_ERROR:
logMsg("hre state ERROR");
signal(LED_RED, ON);
show(LED_RED, ON);
logMsg("hre err: already error, read the rest (now: %02x) until timeout", localMbusCommHandle->receivedOctet);
receiveNext(localMbusCommHandle);
break;