Skip to content

Commit

Permalink
Disinhibit DG600F after initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
chill117 committed Jul 20, 2022
1 parent 610ffd9 commit bb3ef02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* v1.2.5:
* Improved reliability of counting pulses with hx616 coin acceptor
* Fix for non-integer coin increment value
* Disinhibit DG600F after initialization
* v1.2.4:
* Better initialization state handling
* v1.2.3:
Expand Down
2 changes: 1 addition & 1 deletion src/coin-acceptor/dg600f.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ namespace coinAcceptor_dg600f {
logger::write("Initializing DG600F coin acceptor...");
Serial2.begin(coinBaudRate, SERIAL_8E1, coinSignalPin, 0);
pinMode(coinInhibitPin, OUTPUT);
coinAcceptor_dg600f::disinhibit();
state = State::initialized;
coinAcceptor_dg600f::disinhibit();
}
}
}
Expand Down

0 comments on commit bb3ef02

Please sign in to comment.