la8: Rename driver.[ch] to protocol.[ch].
This commit is contained in:
parent
f3a35908ef
commit
45e080b60b
|
@ -25,8 +25,8 @@ noinst_LTLIBRARIES = libsigrokhwchronovula8.la
|
||||||
|
|
||||||
libsigrokhwchronovula8_la_SOURCES = \
|
libsigrokhwchronovula8_la_SOURCES = \
|
||||||
api.c \
|
api.c \
|
||||||
driver.c \
|
protocol.c \
|
||||||
driver.h
|
protocol.h
|
||||||
|
|
||||||
libsigrokhwchronovula8_la_CFLAGS = \
|
libsigrokhwchronovula8_la_CFLAGS = \
|
||||||
-I$(top_srcdir)
|
-I$(top_srcdir)
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "libsigrok.h"
|
#include "libsigrok.h"
|
||||||
#include "libsigrok-internal.h"
|
#include "libsigrok-internal.h"
|
||||||
#include "driver.h"
|
#include "protocol.h"
|
||||||
|
|
||||||
SR_PRIV struct sr_dev_driver chronovu_la8_driver_info;
|
SR_PRIV struct sr_dev_driver chronovu_la8_driver_info;
|
||||||
static struct sr_dev_driver *di = &chronovu_la8_driver_info;
|
static struct sr_dev_driver *di = &chronovu_la8_driver_info;
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include "libsigrok.h"
|
#include "libsigrok.h"
|
||||||
#include "libsigrok-internal.h"
|
#include "libsigrok-internal.h"
|
||||||
#include "driver.h"
|
#include "protocol.h"
|
||||||
|
|
||||||
/* Probes are numbered 0-7. */
|
/* Probes are numbered 0-7. */
|
||||||
SR_PRIV const char *probe_names[NUM_PROBES + 1] = {
|
SR_PRIV const char *probe_names[NUM_PROBES + 1] = {
|
|
@ -18,8 +18,8 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LIBSIGROK_HARDWARE_CHRONOVU_LA8_DRIVER_H
|
#ifndef LIBSIGROK_HARDWARE_CHRONOVU_LA8_PROTOCOL_H
|
||||||
#define LIBSIGROK_HARDWARE_CHRONOVU_LA8_DRIVER_H
|
#define LIBSIGROK_HARDWARE_CHRONOVU_LA8_PROTOCOL_H
|
||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <ftdi.h>
|
#include <ftdi.h>
|
||||||
|
@ -111,7 +111,7 @@ struct dev_context {
|
||||||
uint16_t usb_pid;
|
uint16_t usb_pid;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* driver.c */
|
/* protocol.c */
|
||||||
extern SR_PRIV uint64_t supported_samplerates[];
|
extern SR_PRIV uint64_t supported_samplerates[];
|
||||||
extern SR_PRIV const int hwcaps[];
|
extern SR_PRIV const int hwcaps[];
|
||||||
extern SR_PRIV const char *probe_names[];
|
extern SR_PRIV const char *probe_names[];
|
Loading…
Reference in New Issue