Here is an example having "->"
LOCAL uint32_t ICACHE_FLASH_ATTR
CMD_Exec(const CMD_LIST *scp, PACKET_CMD *packet)
{
uint32_t ret;
uint16_t crc = 0;
while (scp->sc_name != CMD_NULL){
if(scp->sc_name == packet->cmd) {
ret = scp->sc_function(packet);
if(packet->_return){
INFO("CMD: Response return value: %d, cmd: %d\r\n", ret, packet->cmd);
crc = CMD_ResponseStart(packet->cmd, 0, ret, 0);
CMD_ResponseEnd(crc);
}
return ret;
}
scp++;
}
return 0;
}