From: Uwe Hermann Date: Thu, 9 Jun 2016 06:41:56 +0000 (+0200) Subject: new-driver: Cosmetics. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=ad18a0b37756c5e7ace228c4ef488b893bec2fc3;p=sigrok-util.git 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. --- 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"