From: volpol Date: Thu, 23 Aug 2018 16:53:18 +0000 (+0200) Subject: Added default PUMP2GPIO mapping X-Git-Url: https://git.packet-gain.de/?a=commitdiff_plain;h=ffe51961c1aea70e94374d0cf9129b284b4eaeee;p=bbd.git Added default PUMP2GPIO mapping --- 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){