OpenSourceEBike / TSDZ2_wireless

TSDZ2_wireless
36 stars 11 forks source link

release candidate #93

Closed 4var1 closed 3 years ago

4var1 commented 3 years ago

Release candidate for wired remote

@casainho - the street mode button code is still in - but will be dormant if neither the hotkey or function enable flags are set and neither are.

@rananna - i removed the clear_queue from disp_soc as it meant that the power off sequence was lost since I don't put any pauses in the code and let the queue deal with timings. I don't think it will cause you any ill effects.

@rananna - breaking change I've also changed the API for led alerts slightly - as it was ugly having the separate calls to hold/clear queue - there are now 'overloads' for the various types of queuing an event - should make code more readable.

I've commented out the originals - so if you are totally incensed by this change you can always comment those out and use the old calls - but will look even messier :)