Skip to content

Commit

Permalink
Adds a hello message to the DCC decoder. (#607)
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsracz authored Feb 4, 2022
1 parent f03967e commit 283ff16
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions applications/dcc_decoder/main.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,9 @@ int appl_main(int argc, char *argv[])
eefd = ::open("/dev/eeprom", O_RDWR);
HASSERT(eefd >= 0);

static const char HELLO[] = "DCC Decoder program.\n";
::write(wfd, HELLO, sizeof(HELLO));

irqProc.init();
set_dcc_interrupt_processor(&irqProc);

Expand Down

0 comments on commit 283ff16

Please sign in to comment.