Change USART1 to LEDs for T0/T1 presence indication (@ Tcalc_screen_ver2)

This commit is contained in:
eddyem
2019-09-18 16:41:35 +03:00
parent 4bd57d704a
commit 8491f4bf90
13 changed files with 42 additions and 309 deletions

View File

@@ -23,7 +23,6 @@
#include "usb.h"
#include "usb_lib.h"
#include "usart.h"
#include <string.h> // memcpy, memmove
// incoming buffer size
@@ -112,6 +111,7 @@ void usb_proc(){
}
void USB_send(const char *buf){
if(!USB_configured()) return;
uint16_t l = 0, ctr = 0;
const char *p = buf;
while(*p++) ++l;