ESP32 compile fix

This commit is contained in:
folkert van heusden 2024-05-10 16:56:07 +02:00
parent 884433ee80
commit 8807347ec6
Signed by untrusted user who does not match committer: folkert
GPG key ID: 6B6455EDFEED3BD1

View file

@ -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;
}