[chronojump] Fixed ON/OFF on chronopic 20MHz trigger
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed ON/OFF on chronopic 20MHz trigger
- Date: Mon, 6 Mar 2017 07:57:42 +0000 (UTC)
commit 25d5b2f127348fd3a3e4ef979fcda60c6ce3104d
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon Mar 6 08:57:06 2017 +0100
Fixed ON/OFF on chronopic 20MHz trigger
.../chronopic-firmware-20MHz.c | 4 ++--
.../chronopic-firmware-20MHz.hex | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/chronopic-firmware/chronopic-firmware-c/chronopic-firmware-20MHz.c
b/chronopic-firmware/chronopic-firmware-c/chronopic-firmware-20MHz.c
index 083d056..f7c61b8 100644
--- a/chronopic-firmware/chronopic-firmware-c/chronopic-firmware-20MHz.c
+++ b/chronopic-firmware/chronopic-firmware-c/chronopic-firmware-20MHz.c
@@ -163,11 +163,11 @@ void triggerIfPushed()
{
if(RB4 == 1 && RB4Previous == 0)
{
- sci_sendchar(TRIGGER_ON);
+ sci_sendchar(TRIGGER_OFF);
}
else if(RB4 == 0 && RB4Previous == 1)
{
- sci_sendchar(TRIGGER_OFF);
+ sci_sendchar(TRIGGER_ON);
}
if(RB4Previous != RB4)
diff --git a/chronopic-firmware/chronopic-firmware-c/chronopic-firmware-20MHz.hex
b/chronopic-firmware/chronopic-firmware-c/chronopic-firmware-20MHz.hex
index ecbd16e..0a6433f 100644
--- a/chronopic-firmware/chronopic-firmware-c/chronopic-firmware-20MHz.hex
+++ b/chronopic-firmware/chronopic-firmware-c/chronopic-firmware-20MHz.hex
@@ -39,9 +39,9 @@
:100260009800080083120313AE0183120313061EC5
:100270003C2983120313AE0A831203132E08013A9A
:10028000031D4D290030831203134604031D4D291D
-:100290008312031344089B215B2983120313061A5C
+:100290008312031345089B215B2983120313061A5B
:1002A0005B29831203134608013A031D5B2983125D
-:1002B000031345089B2183120313AE01831203131A
+:1002B000031344089B2183120313AE01831203131B
:1002C000061E652983120313AE0A83120313460820
:1002D000831203132E06031D7E2183120313AE0126
:1002E00083120313061E772983120313AE0A8312A7
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]