From fed02cd879c724ceeeceb6eab10275fe399d4758 Mon Sep 17 00:00:00 2001 From: Stephen M Moraco Date: Tue, 28 Nov 2023 15:21:46 -0700 Subject: [PATCH] Update flash_fs.spin2 - fix error interp spelling --- flash_fs.spin2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flash_fs.spin2 b/flash_fs.spin2 index dc064dc..98fe3c5 100644 --- a/flash_fs.spin2 +++ b/flash_fs.spin2 @@ -1401,7 +1401,7 @@ pub string_for_error(error_code) : p_interpretation case error_code SUCCESS: p_interpretation := @"SUCCESS: No error" - E_BAD_HANDLE: p_interpretation := @"E_BAD_HANDLE: Handle in invalid" + E_BAD_HANDLE: p_interpretation := @"E_BAD_HANDLE: Handle is invalid" E_NO_HANDLE: p_interpretation := @"E_NO_HANDLE: Out of available handles" E_FILE_NOT_FOUND: p_interpretation := @"E_FILE_NOT_FOUND: File not present" E_DRIVE_FULL: p_interpretation := @"E_DRIVE_FULL: Out of space on flash chip" @@ -1915,7 +1915,7 @@ pri finish_pending_writes(handle): status | ptr, signature, head_block_address ' hChainBlockID[handle] - blockID of first block being replaced (head block of file if write() or write_replace() or body block if append() if handle < 0 or handle > MAX_FILES_OPEN - 1 - return (LONG[@errorCode][cogid()] := E_BAD_HANDLE) + return (LONG[@errorCode][cogid()] := E_BAD_HANDLE) status := SUCCESS case hStatus[handle] 'get handle (don't clear)