pi compilation bug corrected, initialized gpio action structures