mirror of
https://github.com/eddyem/stm32samples.git
synced 2026-02-28 03:44:30 +03:00
change USB for common files
This commit is contained in:
@@ -19,17 +19,11 @@
|
||||
#pragma once
|
||||
#include <stm32f1.h>
|
||||
|
||||
#include "strfunc.h"
|
||||
|
||||
extern volatile uint8_t ADCmon;
|
||||
|
||||
void USB_sendstr(const char *str);
|
||||
char *get_USB();
|
||||
const char *parse_cmd(char *buf);
|
||||
const char *parse_cmd(int (*sendfun)(const char *s), const char *buf);
|
||||
void printADCvals(int (*sendfun)(const char *s));
|
||||
|
||||
void printADCvals();
|
||||
|
||||
char *u2str(uint32_t val);
|
||||
char *i2str(int32_t i);
|
||||
char *uhex2str(uint32_t val);
|
||||
char *getnum(const char *txt, uint32_t *N);
|
||||
char *omit_spaces(const char *buf);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user