Detect RD-5R radio.

It identifies itself ad 'BF-5R'.
This commit is contained in:
Serge
2018-09-15 15:23:43 -07:00
parent dfe210a54c
commit 1a60618c0e
5 changed files with 299 additions and 8 deletions

View File

@@ -2,15 +2,17 @@ CC = gcc
VERSION = 0.7
GITCOUNT = $(shell git rev-list HEAD --count)
UNAME = $(shell uname)
CFLAGS = -g -O -Wall -Werror -DVERSION='"$(VERSION).$(GITCOUNT)"'
LDFLAGS = -g
OBJS = main.o util.o radio.o dfu-libusb.o uv380.o md380.o
LIBS = -lusb-1.0
# Mac OS X
#CFLAGS += -I/usr/local/opt/gettext/include
#LIBS += -L/usr/local/opt/gettext/lib -lintl
# Linux
ifeq ($(UNAME),Linux)
OBJS += hid-libusb.o
endif
all: dmrconfig