chillancezen / ZeldaOS

32bit OS/kernel built from scratch with POSIX.1 compliance
BSD 3-Clause "New" or "Revised" License
28 stars 2 forks source link

Discarded side effect in process_scancode #3

Closed lucic71 closed 4 years ago

lucic71 commented 4 years ago

Created a separate routine that discards the pressed bit in scancode and changed process_scancode return type to void to make the routine compatible with SRP.