[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-mdb] branch master updated: backlight invert added
From: |
gnunet |
Subject: |
[taler-taler-mdb] branch master updated: backlight invert added |
Date: |
Tue, 10 Dec 2019 17:08:31 +0100 |
This is an automated email from the git hooks/post-receive script.
marco-boss pushed a commit to branch master
in repository taler-mdb.
The following commit(s) were added to refs/heads/master by this push:
new 95eac26 backlight invert added
95eac26 is described below
commit 95eac26bbb4ae6258547d07aa111fafd57127ab5
Author: Boss Marco <address@hidden>
AuthorDate: Tue Dec 10 17:08:15 2019 +0100
backlight invert added
---
.gitignore | 1 +
src/qr-show.c | 15 +++++++++++++++
2 files changed, 16 insertions(+)
diff --git a/.gitignore b/.gitignore
index b09e31a..9de4bf5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,6 +19,7 @@ src/Makefile
src/Makefile.am~
src/Makefile.in
src/taler-mdb
+src/qr-show
stamp-h1
*.pro*
.qmake*
diff --git a/src/qr-show.c b/src/qr-show.c
index c96dab1..0010a9a 100644
--- a/src/qr-show.c
+++ b/src/qr-show.c
@@ -115,8 +115,19 @@ static char *framebuffer_device_filename;
*/
static char *framebuffer_backlight_filename;
+/**
+ * Global option '-i' to invert backlight on/off values
+ */
static int backlight_invert;
+
+/**
+ * Standard backlight on value
+ */
static char backlight_on = '1';
+
+/**
+ * Standard backlight off value
+ */
static char backlight_off = '0';
/**
@@ -401,6 +412,10 @@ main (int argc,
"DELAY",
"how long should we display the text
before continuing",
&delay),
+ GNUNET_GETOPT_option_flag ('i',
+ "backlight-invert",
+ "invert the backlight on/off values (standard
on = 1)",
+ &backlight_invert),
GNUNET_GETOPT_OPTION_END
};
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-taler-mdb] branch master updated: backlight invert added,
gnunet <=