Skip to content

Commit

Permalink
Proper log formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Cacodemon345 committed May 28, 2024
1 parent 34f24c6 commit dc9345c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/usb/usb_hid.c
Original file line number Diff line number Diff line change
Expand Up @@ -1015,10 +1015,9 @@ static const uint8_t bx_keypad_hid_descriptor[] = {
0x00, /* u16 len */
};

#define BX_ERROR(x) pclog x
#define BX_INFO(x) pclog x
#define BX_DEBUG(x) pclog x
#define BX_PANIC(x) fatal x
#define BX_ERROR(x) pclog x; pclog ("\n")
#define BX_INFO(x) pclog x; pclog ("\n")
#define BX_DEBUG(x) pclog x; pclog ("\n")

int
usb_device_hid_create_mouse_packet(usb_device_hid *hid, uint8_t *buf)
Expand Down

0 comments on commit dc9345c

Please sign in to comment.