mirror of
https://salsa.debian.org/gnuk-team/gnuk/gnuk.git
synced 2024-09-21 03:10:08 +00:00
23 lines
285 B
C
23 lines
285 B
C
|
/*
|
||
|
* Virtual COM port (for debug output only)
|
||
|
*/
|
||
|
|
||
|
#include "usb_lib.h"
|
||
|
|
||
|
#include "config.h"
|
||
|
#include "ch.h"
|
||
|
#include "gnuk.h"
|
||
|
|
||
|
void
|
||
|
EP3_IN_Callback(void)
|
||
|
{
|
||
|
if (stdout_thread)
|
||
|
chEvtSignalI (stdout_thread, EV_TX_READY);
|
||
|
}
|
||
|
|
||
|
void
|
||
|
EP5_OUT_Callback(void)
|
||
|
{
|
||
|
SetEPRxValid (ENDP3);
|
||
|
}
|