diff options
| author | tmk <nobody@nowhere> | 2013-03-11 00:14:58 +0900 |
|---|---|---|
| committer | tmk <nobody@nowhere> | 2013-03-11 00:14:58 +0900 |
| commit | 09bd1aef12e42b44f90b8275ae95b578294957c0 (patch) | |
| tree | ddf33c9c2e269beafcb67930d026626aa2ed6563 /common/command.c | |
| parent | db024b6b1803eb752070422e7240b1ffe52d39f6 (diff) | |
| download | qmk_firmware-09bd1aef12e42b44f90b8275ae95b578294957c0.tar.gz qmk_firmware-09bd1aef12e42b44f90b8275ae95b578294957c0.zip | |
Rename HOST_* to PROTOCOL_* in protocol/*.mk
Diffstat (limited to 'common/command.c')
| -rw-r--r-- | common/command.c | 10 |
1 files changed, 5 insertions, 5 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 { |
