From f72b8253776e90f3038883458e7f2b41f38cd134 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Mon, 9 Sep 2019 09:04:12 -0700 Subject: [PATCH] reenable permanent storage (#909) --- libs/storage/storage-core.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libs/storage/storage-core.ts b/libs/storage/storage-core.ts index 81bbe462..fe7db319 100644 --- a/libs/storage/storage-core.ts +++ b/libs/storage/storage-core.ts @@ -199,4 +199,10 @@ namespace storage { return '/' + filename; } } + + /** + * Permanent storage on the brick, must be deleted with code. + */ + //% whenUsed fixedInstance block="permanent" + export const permanent: Storage = new PermanentStorage(); } \ No newline at end of file