The following works fine in all simulators any many devices:
function showIcon(){
....
myTimer.start(method(:removeIcon), dur, false);
System.println(" iconTimer started");
}
function removeIcon(){
System.println(" removing icon");
....
}
However, when run on an older Fenix 3, I see the output "iconTimer startet" but never "removing icon" and the software crashes. In the CIQ_LOG.txt this is written:
ERROR: Unexpected Type Error
DETAILS: Failed invoking <symbol>
STORE_ID: 00000000000000000000000000000000
CALLSTACK:
@PC = 0x3000170f
@PC = 0x10000722
@PC = 0x10001d8e
WARNING: Error in timer callback
STORE_ID: 00000000000000000000000000000000
(Some other users (eg. with Fenix 6) possibly have the same issue, as I got some messages on crashes. Could, however, be another problem)
Can anybody help?