Closed Ralim closed 5 years ago
Hi, I'm looking to add a new serial command to allow clearing the totals for amp hours and watt hours. Is there any chance of adding an extra command?
Looking at the comment /* maximum key range = 13, duplicates = 0 */ here
/* maximum key range = 13, duplicates = 0 */
It looks like your using a neat way to resolve the commands to functions... Is there a link to a explanation of this anywhere?
Thanks :)
This is a perfect hash, generated by a tool called gperf. Command line is in a comment up top.
Hi, I'm looking to add a new serial command to allow clearing the totals for amp hours and watt hours. Is there any chance of adding an extra command?
Looking at the comment
/* maximum key range = 13, duplicates = 0 */
hereIt looks like your using a neat way to resolve the commands to functions... Is there a link to a explanation of this anywhere?
Thanks :)