@@ -58,7 +58,7 @@ static uint8_t digitizer_report_buffer[USB_HID_REPORT_LENGTH_DIGITIZER];
5858#endif
5959
6060usb_hid_device_obj_t usb_hid_devices [] = {
61- #if USB_HID_REPORT_ID_KEYBOARD
61+ #ifdef USB_HID_REPORT_ID_KEYBOARD
6262 {
6363 .base = { .type = & usb_hid_device_type } ,
6464 .report_buffer = keyboard_report_buffer ,
@@ -69,7 +69,7 @@ usb_hid_device_obj_t usb_hid_devices[] = {
6969 },
7070#endif
7171
72- #if USB_HID_REPORT_ID_MOUSE
72+ #ifdef USB_HID_REPORT_ID_MOUSE
7373 {
7474 .base = { .type = & usb_hid_device_type } ,
7575 .report_buffer = mouse_report_buffer ,
@@ -80,7 +80,7 @@ usb_hid_device_obj_t usb_hid_devices[] = {
8080 },
8181#endif
8282
83- #if USB_HID_REPORT_ID_CONSUMER
83+ #ifdef USB_HID_REPORT_ID_CONSUMER
8484 {
8585 .base = { .type = & usb_hid_device_type } ,
8686 .report_buffer = consumer_report_buffer ,
@@ -91,7 +91,7 @@ usb_hid_device_obj_t usb_hid_devices[] = {
9191 },
9292#endif
9393
94- #if USB_HID_REPORT_ID_SYS_CONTROL
94+ #ifdef USB_HID_REPORT_ID_SYS_CONTROL
9595 {
9696 .base = { .type = & usb_hid_device_type } ,
9797 .report_buffer = sys_control_report_buffer ,
@@ -102,7 +102,7 @@ usb_hid_device_obj_t usb_hid_devices[] = {
102102 },
103103#endif
104104
105- #if USB_HID_REPORT_ID_GAMEPAD
105+ #ifdef USB_HID_REPORT_ID_GAMEPAD
106106 {
107107 .base = { .type = & usb_hid_device_type } ,
108108 .report_buffer = gamepad_report_buffer ,
@@ -113,7 +113,7 @@ usb_hid_device_obj_t usb_hid_devices[] = {
113113 },
114114#endif
115115
116- #if USB_HID_REPORT_ID_DIGITIZER
116+ #ifdef USB_HID_REPORT_ID_DIGITIZER
117117 {
118118 .base = { .type = & usb_hid_device_type } ,
119119 .report_buffer = digitizer_report_buffer ,
0 commit comments