Skip to content

Commit

Permalink
ESP32 compile fix
Browse files Browse the repository at this point in the history
  • Loading branch information
folkertvanheusden committed May 10, 2024
1 parent 884433e commit 8807347
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dc11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -567,8 +567,9 @@ void dc11::write_word(const uint16_t addr, const uint16_t v)
DOLOG(info, false, "DC11 line %d disconnected\n", line_nr + 1);

registers[line_nr * 4 + 0] |= 0140000; // "ERROR", CARRIER TRANSITION

#if IS_POSIX
assert(fd != serial_fd);
#endif
close(fd);
pfds[dc11_n_lines + line_nr].fd = INVALID_SOCKET;
}
Expand Down

0 comments on commit 8807347

Please sign in to comment.