forked from mirrors/qmk_userspace
added protocol stack: pjrc, vusb
This commit is contained in:
parent
5552b5afea
commit
acc974c64b
55 changed files with 836 additions and 1832 deletions
19
usb_debug.h
19
usb_debug.h
|
@ -1,19 +0,0 @@
|
|||
#ifndef USB_DEBUG_H
|
||||
#define USB_DEBUG_H 1
|
||||
|
||||
#include <stdint.h>
|
||||
#include "usb.h"
|
||||
|
||||
|
||||
#define DEBUG_INTERFACE 2
|
||||
#define DEBUG_TX_ENDPOINT 3
|
||||
#define DEBUG_TX_SIZE 32
|
||||
#define DEBUG_TX_BUFFER EP_DOUBLE_BUFFER
|
||||
|
||||
|
||||
extern volatile uint8_t debug_flush_timer;
|
||||
|
||||
|
||||
void usb_debug_flush_output(void); // immediately transmit any buffered output
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue