mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
uart fix
This commit is contained in:
4
uart.cpp
4
uart.cpp
@@ -168,14 +168,14 @@ void uart_input::poll()
|
||||
auto const action { (
|
||||
type != impulse ?
|
||||
GLFW_PRESS :
|
||||
( true == state ?
|
||||
( state ?
|
||||
GLFW_PRESS :
|
||||
GLFW_RELEASE ) ) };
|
||||
|
||||
auto const command { (
|
||||
type != toggle ?
|
||||
std::get<2>( entry ) :
|
||||
( action == GLFW_PRESS ?
|
||||
( state ?
|
||||
std::get<2>( entry ) :
|
||||
std::get<3>( entry ) ) ) };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user