16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 05:49:19 +02:00

(uart) change incorrect name "enumeration" -> "port finding"

This commit is contained in:
Marcin Nowak
2021-10-20 17:12:04 +02:00
parent 20a369974a
commit 18100217c3
2 changed files with 14 additions and 14 deletions

4
uart.h
View File

@@ -84,7 +84,7 @@ private:
using inputpin_sequence = std::vector<input_pin_t>;
bool setup_port();
void enumerate_ports();
void find_ports();
// members
sp_port *port = nullptr;
@@ -93,7 +93,7 @@ private:
std::array<std::uint8_t, 16> old_packet; // TBD, TODO: replace with vector of configurable size?
std::chrono::time_point<std::chrono::high_resolution_clock> last_update;
std::chrono::time_point<std::chrono::high_resolution_clock> last_setup;
std::chrono::time_point<std::chrono::high_resolution_clock> last_enumeration;
std::chrono::time_point<std::chrono::high_resolution_clock> last_port_find;
conf_t conf;
bool data_pending = false;
bool error_notified = false;