fix led + gpio use new struct cmd