diff options
Diffstat (limited to 'common')
| -rw-r--r-- | common/command.c | 10 | ||||
| -rw-r--r-- | common/report.h | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/common/command.c b/common/command.c index cf8d969f8..a18eb7800 100644 --- a/common/command.c +++ b/common/command.c | |||
| @@ -34,14 +34,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | #include "mousekey.h" | 34 | #include "mousekey.h" |
| 35 | #endif | 35 | #endif |
| 36 | 36 | ||
| 37 | #ifdef HOST_PJRC | 37 | #ifdef PROTOCOL_PJRC |
| 38 | # include "usb_keyboard.h" | 38 | # include "usb_keyboard.h" |
| 39 | # ifdef EXTRAKEY_ENABLE | 39 | # ifdef EXTRAKEY_ENABLE |
| 40 | # include "usb_extra.h" | 40 | # include "usb_extra.h" |
| 41 | # endif | 41 | # endif |
| 42 | #endif | 42 | #endif |
| 43 | 43 | ||
| 44 | #ifdef HOST_VUSB | 44 | #ifdef PROTOCOL_VUSB |
| 45 | # include "usbdrv.h" | 45 | # include "usbdrv.h" |
| 46 | #endif | 46 | #endif |
| 47 | 47 | ||
| @@ -238,7 +238,7 @@ static bool command_common(uint8_t code) | |||
| 238 | case KC_S: | 238 | case KC_S: |
| 239 | print("\n\n----- Status -----\n"); | 239 | print("\n\n----- Status -----\n"); |
| 240 | print_val_hex8(host_keyboard_leds()); | 240 | print_val_hex8(host_keyboard_leds()); |
| 241 | #ifdef HOST_PJRC | 241 | #ifdef PROTOCOL_PJRC |
| 242 | print_val_hex8(UDCON); | 242 | print_val_hex8(UDCON); |
| 243 | print_val_hex8(UDIEN); | 243 | print_val_hex8(UDIEN); |
| 244 | print_val_hex8(UDINT); | 244 | print_val_hex8(UDINT); |
| @@ -248,7 +248,7 @@ static bool command_common(uint8_t code) | |||
| 248 | print_val_hex8(usb_keyboard_idle_count); | 248 | print_val_hex8(usb_keyboard_idle_count); |
| 249 | #endif | 249 | #endif |
| 250 | 250 | ||
| 251 | #ifdef HOST_VUSB | 251 | #ifdef PROTOCOL_PJRC |
| 252 | # if USB_COUNT_SOF | 252 | # if USB_COUNT_SOF |
| 253 | print_val_hex8(usbSofCount); | 253 | print_val_hex8(usbSofCount); |
| 254 | # endif | 254 | # endif |
| @@ -267,7 +267,7 @@ static bool command_common(uint8_t code) | |||
| 267 | #ifdef EXTRAKEY_ENABLE | 267 | #ifdef EXTRAKEY_ENABLE |
| 268 | case KC_PSCREEN: | 268 | case KC_PSCREEN: |
| 269 | // TODO: Power key should take this feature? otherwise any key during suspend. | 269 | // TODO: Power key should take this feature? otherwise any key during suspend. |
| 270 | #ifdef HOST_PJRC | 270 | #ifdef PROTOCOL_PJRC |
| 271 | if (suspend && remote_wakeup) { | 271 | if (suspend && remote_wakeup) { |
| 272 | usb_remote_wakeup(); | 272 | usb_remote_wakeup(); |
| 273 | } else { | 273 | } else { |
diff --git a/common/report.h b/common/report.h index 0995189b3..480102768 100644 --- a/common/report.h +++ b/common/report.h | |||
| @@ -71,7 +71,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 71 | 71 | ||
| 72 | 72 | ||
| 73 | /* key report size(NKRO or boot mode) */ | 73 | /* key report size(NKRO or boot mode) */ |
| 74 | #if defined(HOST_PJRC) | 74 | #if defined(PROTOCOL_PJRC) |
| 75 | # include "usb.h" | 75 | # include "usb.h" |
| 76 | # if defined(KBD2_REPORT_KEYS) && KBD2_REPORT_KEYS > KBD_REPORT_KEYS | 76 | # if defined(KBD2_REPORT_KEYS) && KBD2_REPORT_KEYS > KBD_REPORT_KEYS |
| 77 | # define REPORT_KEYS KBD2_REPORT_KEYS | 77 | # define REPORT_KEYS KBD2_REPORT_KEYS |
