driver modifications
Up to Software suite V2 - Middleware - tux_driver
I have updated the sw_status handling part of the driver. No functional changes.
The change is to move all eventing code to the sw_status file (including the decisions) and also to use different types to store the parameter values. That way all those small mallocs are gone and we can just statically initialise the table.
Please review:
One point of concern:
In user_inputs.c I made a small change in tux_user_inputs_update_charger_state
I don't think this will break a thing, but I am not 100% confident so I would an expert to look into it.
One other remark:
I've kept the filename to tux_sw_status.c, but maybe tux_sw_event.c would be more appropriate. Please advise
FM