Revent:PMEM hack for compatibility with camera libs

Signed-off-by: Nikola Majkic <n1kolaa@hotmail.com>