use more static and fix [-Wmissing-prototypes]

This commit is contained in:
Philippe Teuwen committed 2019-04-13 21:57:13 +02:00
1 parent 4572acc1eb
commit 5c55664fc5
23 files changed
+223 -218

No files matched your search

+1 -1
View File
@@ -196,7 +196,7 @@ const productName uidmapping[] = {
// fast method to just read the UID of a tag (collission detection not supported)
// *buf should be large enough to fit the 64bit uid
// returns 1 if suceeded
int getUID(uint8_t *buf) {
static int getUID(uint8_t *buf) {
UsbCommand resp;
UsbCommand c = {CMD_ISO_15693_COMMAND, {0, 1, 1}, {{0}}}; // len,speed,recv?