X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/rsbs2/blobdiff_plain/ed12045ff73c6ac30effca87367a9bd82f689dea..7639ed841e42bd73717d288dc14c29ef3bebd8a3:/bmc/chassis.c diff --git a/bmc/chassis.c b/bmc/chassis.c index 852e726..29541f2 100644 --- a/bmc/chassis.c +++ b/bmc/chassis.c @@ -2,6 +2,7 @@ #include #include +#include "config.h" #include "chassis.h" #ifdef __AVR_ATmega16__ @@ -23,13 +24,13 @@ static volatile int power_cnt = 0; static volatile int reset_cnt = 0; +static volatile int power_cycle = 0; static void chassis_set_pins(uint8_t pins, uint8_t state); void chassis_init() { chassis_set_pins((1<