I ran a LUA script calling the SetFactoryMode (as described in https://chdk.fandom.com/wiki/Event_Procedure#FA.Create
) on my Canon PowerShot ELPH 160. However, it did more then turn the LCD off.
When I turn it on (using the power or playback buttons), the green LED turns on and remains on until I disconnect the battery, unless a bootable SD card is inserted and locked, in which case the green LED turns on briefly and then turns off. The buttons don't respond (pressing the shutter doesn't extend the lens) and I have tried inserting an SD card with CHDK set to auto-run a script calling ClearFactoryMode with no success.
Any suggestions or have I just bricked a $100 camera?