Spelling.

This commit is contained in:
joevt 2023-12-03 01:12:37 -08:00 committed by Maxim Poliakovski
parent cf4ce01ddd
commit 8baf722343
11 changed files with 15 additions and 15 deletions

View File

@ -58,7 +58,7 @@ bool AdbKeyboard::get_register_0() {
uint8_t AdbKeyboard::consume_pending_event() {
if (this->pending_events.empty()) {
// In most cases we have only on pending event when the host polls us,
// In most cases we have only one pending event when the host polls us,
// but we need to fill two entries of the output buffer. We need to set
// the key status bit to 1 (released), and the key to a non-existent
// one (0x7F). Otherwise if we leave it empty, the host will think that

View File

@ -44,7 +44,7 @@ namespace Hammerhead {
#define EXTENDED_ID 0x1 // examine some other registers to get full ID
#define HH_CPU_ID_TNT ((RISC_MACHINE << 4) | (EXTENDED_ID << 3) | MACH_TYPE_TNT)
// contants for the MBID field of the MOTHERBOARD_ID register
// constants for the MBID field of the MOTHERBOARD_ID register
enum {
MBID_VCI0_PRESENT = 4,
MBID_PCI2_PRESENT = 2,