setKey problems

  • I can read a value from the config file with:
    eConfig::getInstance()->getKey("/enigma/timeoutInfobar", timeoutInfobar)


    But if I try to write to the same key from my own menu using:
    eConfig::getInstance()->setKey("/enigma/timeoutInfobar", 5);


    Then it does not work.


    Is there someting I'm missing ?

  • It does work, but the config isn't written directly to the flash memory. It stays in the RAM until enigma is gracefully shut down.


    IIRC there also was a method eConfig::getInstance()->flush() to write it to flash instantly.