magiclantern_simplified icon indicating copy to clipboard operation
magiclantern_simplified copied to clipboard

D678: Appending ML version name to firmware version does not work

Open kitor opened this issue 3 years ago • 3 comments

On D6 and up additional_version doesn't work properly. We point this at \n in char buffer that contains firmware version in RAM. However Canon code leaves there 1.0.0 on boot and updates that slightly later in boot process, I'm not sure where.

Address is correct, however our code needs to wait for the value to be updated, or we need to find a better way to update the string.

kitor avatar Nov 18 '21 12:11 kitor

One-shot task with a delay seems an obvious approach (unless Canon repeatedly overwrites it?).

reticulatedpines avatar Aug 01 '22 11:08 reticulatedpines

Yep, that's one of the possible answers. In early days, when you accidentally left the huge msleep in startup code - existing solution was working properly.

The only issue with that approach is when you boot with "set" button pressed (with the promise we don't load ML, but really we still do a thing or two) we still would need to run that task to update the string.

kitor avatar Aug 01 '22 11:08 kitor

I'd have thought it was more intuitive to not update the string if "set" has minimised ML functionality. Does it matter that much which happens?

reticulatedpines avatar Aug 01 '22 11:08 reticulatedpines