projects
/
bbd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3c2c6d
)
Added default PUMP2GPIO mapping
author
volpol
<volpol@packet-gain.de>
Thu, 23 Aug 2018 16:53:18 +0000
(18:53 +0200)
committer
volpol
<volpol@packet-gain.de>
Thu, 23 Aug 2018 16:53:18 +0000
(18:53 +0200)
pump.c
patch
|
blob
|
history
diff --git
a/pump.c
b/pump.c
index 247238348da93765d5759596117576436bc28b6b..3f3e3ec04b7aea15590c9c939107125e680060c2 100644
(file)
--- a/
pump.c
+++ b/
pump.c
@@
-14,26
+14,23
@@
#include "pump.h"
#include "c_gpio.h"
-
-DPRINT ("pump_idx %d", num);
-DPRINT ("pump_gpio %d", gpio);
#define NUM_PUMPS 12
static int P2G[NUM_PUMPS] = {
-
17
,
- 2,
-
0
,
-
-
0
,
-
0
,
-
0
,
+
9, //21
,
+ 2
1, //20
,
+
12, //16
,
+
+
7, //26
,
+
26, //19
,
+
13, //13
,
-
0
,
-
0
,
-
0
,
+
19, //12
,
+
8, //7
,
+
20, //8
,
-
0
,
-
0
,
- 0
+
11, //25
,
+
16, //11
,
+ 25 //9
};
int pump_add(int num){