Closed lolsborn closed 3 years ago
Um... I'm kinda curious as to why the name changed back to INFOTAINMENT_STATE from MUSIC_STATE, since I had made that change in the first place to better reflect what the state actually meant.
(did I perhaps forget to make the change in the CSV file that generated the headers? I didn't think so, because I thought I generated the headers the last time I made changes, but maybe...)
I changed it in the CSV because when I was drawing the state diagrams, MUSIC_STATE seemed to be an odd name. Happy to change it back if you have a strong opinion about the name.
It can be either... it's just that the state actually contains information only about the music (playing/not, which station, volume level) and not about the infotainment system as a whole (e.g., there are also x/y/z coordinates for the map, etc. that are separate messages).
Updated constants to reflect changes to the canlib autogenerated header. Please take a look to ensure the constants I substituted are the right values.