init gpio after led init; malloc/free panel data