mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 04:39:18 +02:00
(uart) change incorrect name "enumeration" -> "port finding"
This commit is contained in:
4
uart.h
4
uart.h
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user