src_legacy/2017/PoiActionRunner.cpp
// load scene from flash into memory
load scene from flash into memory
load scene from flash into memory
void PoiActionRunner::_updateSceneFromFlash(uint8_t scene){
  if (_flashMemory.loadImage(scene, _imageCache.getRawImageData())){
    _currentScene = scene;
    if (_logLevel != MUTE) printf("Scene %d loaded from Flash.\n", _currentScene);
  }
  else{
    printf("Error. Cannot load scene %d\n", scene);
  }
}
void PoiActionRunner :: _updateSceneFromFlash ( uint8_t scene ) { if ( _flashMemory . loadImage ( scene , _imageCache . getRawImageData ( ) ) ) { _currentScene = scene ; if ( _logLevel != MUTE ) printf ( " \n " , _currentScene ) ; } else { printf ( " \n " , scene ) ; } }
load scene from flash into memory
load scene from flash into memory