X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/rsbs2/blobdiff_plain/ed12045ff73c6ac30effca87367a9bd82f689dea..920420f7c4af55e877e94d13d1d0ef4631ff8f32:/bmc/chassis.c?ds=sidebyside 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<