From ffe51961c1aea70e94374d0cf9129b284b4eaeee Mon Sep 17 00:00:00 2001 From: volpol Date: Thu, 23 Aug 2018 18:53:18 +0200 Subject: [PATCH] Added default PUMP2GPIO mapping --- pump.c | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/pump.c b/pump.c index 2472383..3f3e3ec 100644 --- 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, + 21, //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){ -- 2.30.2