Skip to content

Commit

Permalink
OCPP: Enable backlight when presenting RFID tag
Browse files Browse the repository at this point in the history
  • Loading branch information
mstegen committed Nov 18, 2024
1 parent 992b726 commit 4c3c1ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SmartEVSE-3/src/glcd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,7 @@ void GLCD(void) {
if (OcppMode && // OCPP enabled
(getItemValue(MENU_RFIDREADER) == 6 || getItemValue(MENU_RFIDREADER) == 0) && // RFID in OCPP mode or disabled
ocppHasTxNotification()) { // There is an OCPP event to display
BacklightTimer = BACKLIGHT;
switch(ocppGetTxNotification()) {
case MicroOcpp::TxNotification::Authorized:
GLCD_print_buf2(2, (const char *) "ACCEPTED");
Expand Down

0 comments on commit 4c3c1ce

Please sign in to comment.