la8: Rename driver.[ch] to protocol.[ch].

This commit is contained in:
Uwe Hermann 2012-10-27 22:21:07 +02:00
parent f3a35908ef
commit 45e080b60b
4 changed files with 7 additions and 7 deletions

View File

@ -25,8 +25,8 @@ noinst_LTLIBRARIES = libsigrokhwchronovula8.la
libsigrokhwchronovula8_la_SOURCES = \
api.c \
driver.c \
driver.h
protocol.c \
protocol.h
libsigrokhwchronovula8_la_CFLAGS = \
-I$(top_srcdir)

View File

@ -23,7 +23,7 @@
#include <string.h>
#include "libsigrok.h"
#include "libsigrok-internal.h"
#include "driver.h"
#include "protocol.h"
SR_PRIV struct sr_dev_driver chronovu_la8_driver_info;
static struct sr_dev_driver *di = &chronovu_la8_driver_info;

View File

@ -22,7 +22,7 @@
#include <glib.h>
#include "libsigrok.h"
#include "libsigrok-internal.h"
#include "driver.h"
#include "protocol.h"
/* Probes are numbered 0-7. */
SR_PRIV const char *probe_names[NUM_PROBES + 1] = {

View File

@ -18,8 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef LIBSIGROK_HARDWARE_CHRONOVU_LA8_DRIVER_H
#define LIBSIGROK_HARDWARE_CHRONOVU_LA8_DRIVER_H
#ifndef LIBSIGROK_HARDWARE_CHRONOVU_LA8_PROTOCOL_H
#define LIBSIGROK_HARDWARE_CHRONOVU_LA8_PROTOCOL_H
#include <glib.h>
#include <ftdi.h>
@ -111,7 +111,7 @@ struct dev_context {
uint16_t usb_pid;
};
/* driver.c */
/* protocol.c */
extern SR_PRIV uint64_t supported_samplerates[];
extern SR_PRIV const int hwcaps[];
extern SR_PRIV const char *probe_names[];