mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
build 180429. vorbis ogg audio data format support, minor bug fixes
This commit is contained in:
2
uart.cpp
2
uart.cpp
@@ -160,7 +160,7 @@ void uart_input::poll()
|
||||
auto const bit { std::get<std::size_t>( entry ) % 8 };
|
||||
|
||||
bool const state { ( ( buffer[ byte ] & ( 1 << bit ) ) != 0 ) };
|
||||
bool const changed { ( ( old_packet[ byte ] & ( 1 << bit ) ) != state ) };
|
||||
bool const changed { ( ( ( old_packet[ byte ] & ( 1 << bit ) ) != 0 ) != state ) };
|
||||
|
||||
if( false == changed ) { continue; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user