cash2ecash

cash2ecash: cash acceptor that issues digital cash (experimental)
Log | Files | Refs | Submodules | README | LICENSE

commit 238ad0fb2115417b625f863eb54de235dfe87943
parent c2a3d77501962302a5dd7c111d5f2079b812a643
Author: Manuel Geissbühler <manuel@debian>
Date:   Thu,  2 Jan 2025 13:47:39 +0100

testing

Diffstat:
Msrc/cash2ecash.cpp | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/cash2ecash.cpp b/src/cash2ecash.cpp @@ -57,7 +57,7 @@ void actionEventInitialize() { } void actionEventUnexpected(){ - std::cerr << "Event not expected in this state" << state << std::endl; + std::cerr << "Event not expected in this state: " << state << std::endl; } void actionEventStart(){ @@ -159,7 +159,7 @@ void initStateEvent(){ stateEventTable[INIT][EVENT_INITIALIZE].action = actionEventInitialize; stateEventTable[INIT][EVENT_INITIALIZE].nextState = IDLE; stateEventTable[IDLE][EVENT_BUTTON_START].action = actionEventStart; - stateEventTable[IDLE][EVENT_BUTTON_START].nextState = CONNECTION; //needs to be changed to initialization later + stateEventTable[IDLE][EVENT_BUTTON_START].nextState = IDENTIFICATION; //needs to be changed to initialization later stateEventTable[IDLE][EVENT_SLEEP].action = actionEventSleep; stateEventTable[IDLE][EVENT_SLEEP].nextState = SLEEP;