mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-29 03:29:58 +02:00
[ion] COrrect potential bug
Change-Id: I76f9c9d75f8f659fb69b3e027e7ff69fd8e06794
This commit is contained in:
@@ -56,7 +56,7 @@ void Ion::Power::suspend(bool checkIfPowerKeyReleased) {
|
||||
Keyboard::State scan = Keyboard::scan();
|
||||
Keyboard::Device::shutdown();
|
||||
|
||||
Ion::Keyboard::State OnlyPowerKeyDown = (1 << (uint8_t)Keyboard::Key::B2);
|
||||
Ion::Keyboard::State OnlyPowerKeyDown = ((uint64_t)1 << (uint8_t)Keyboard::Key::B2);
|
||||
if (scan == OnlyPowerKeyDown) {
|
||||
// Wake up
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user