From caeb8d7a9d2d5a2497692a23caf066f33f7a34c3 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sun, 18 Sep 2016 18:54:56 +0200 Subject: [PATCH] hantek-dso: File naming consistency changes. --- Makefile.am | 4 ++-- src/hardware/hantek-dso/api.c | 2 +- src/hardware/hantek-dso/{dso.c => protocol.c} | 2 +- src/hardware/hantek-dso/{dso.h => protocol.h} | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) rename src/hardware/hantek-dso/{dso.c => protocol.c} (99%) rename src/hardware/hantek-dso/{dso.h => protocol.h} (98%) diff --git a/Makefile.am b/Makefile.am index 1a777af1..a6020193 100644 --- a/Makefile.am +++ b/Makefile.am @@ -319,8 +319,8 @@ src_libdrivers_la_SOURCES += \ endif if HW_HANTEK_DSO src_libdrivers_la_SOURCES += \ - src/hardware/hantek-dso/dso.h \ - src/hardware/hantek-dso/dso.c \ + src/hardware/hantek-dso/protocol.h \ + src/hardware/hantek-dso/protocol.c \ src/hardware/hantek-dso/api.c endif if HW_HP_3457A diff --git a/src/hardware/hantek-dso/api.c b/src/hardware/hantek-dso/api.c index 7b99b0f0..c94fbc5c 100644 --- a/src/hardware/hantek-dso/api.c +++ b/src/hardware/hantek-dso/api.c @@ -33,7 +33,7 @@ #include #include #include "libsigrok-internal.h" -#include "dso.h" +#include "protocol.h" /* Max time in ms before we want to check on USB events */ /* TODO tune this properly */ diff --git a/src/hardware/hantek-dso/dso.c b/src/hardware/hantek-dso/protocol.c similarity index 99% rename from src/hardware/hantek-dso/dso.c rename to src/hardware/hantek-dso/protocol.c index 3d799664..bf91de45 100644 --- a/src/hardware/hantek-dso/dso.c +++ b/src/hardware/hantek-dso/protocol.c @@ -25,7 +25,7 @@ #include #include #include "libsigrok-internal.h" -#include "dso.h" +#include "protocol.h" #define NUM_CHANNELS 2 diff --git a/src/hardware/hantek-dso/dso.h b/src/hardware/hantek-dso/protocol.h similarity index 98% rename from src/hardware/hantek-dso/dso.h rename to src/hardware/hantek-dso/protocol.h index 0d7b7bf1..9cab61b3 100644 --- a/src/hardware/hantek-dso/dso.h +++ b/src/hardware/hantek-dso/protocol.h @@ -19,8 +19,8 @@ * along with this program. If not, see . */ -#ifndef LIBSIGROK_HARDWARE_HANTEK_DSO_DSO_H -#define LIBSIGROK_HARDWARE_HANTEK_DSO_DSO_H +#ifndef LIBSIGROK_HARDWARE_HANTEK_DSO_PROTOCOL_H +#define LIBSIGROK_HARDWARE_HANTEK_DSO_PROTOCOL_H #define LOG_PREFIX "hantek-dso"