From ad18a0b37756c5e7ace228c4ef488b893bec2fc3 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Thu, 9 Jun 2016 08:41:56 +0200 Subject: [PATCH] new-driver: Cosmetics. Restore the same order for files and the same tab-indentation that used to be used before the recent patches for consistency reasons. --- source/new-driver | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/new-driver b/source/new-driver index 1f8f91d..e14b820 100755 --- a/source/new-driver +++ b/source/new-driver @@ -29,12 +29,12 @@ import datetime TMPL_AUTOCONF_DRIVER = "SR_DRIVER([{name}], [{short}])\n" -TMPL_FILES = ('api.c', 'protocol.c', 'protocol.h') +TMPL_FILES = ('protocol.h', 'protocol.c', 'api.c') TMPL_HWMAKE_DRIVERLIB = """if HW_{upper} libsigrok_la_SOURCES +=""" for tmpl_file in TMPL_FILES: - TMPL_HWMAKE_DRIVERLIB += " \\\nsrc/hardware/{short}/" + tmpl_file + TMPL_HWMAKE_DRIVERLIB += " \\\n\tsrc/hardware/{short}/" + tmpl_file TMPL_HWMAKE_DRIVERLIB += "\nendif\n" -- 2.30.2