Skip to content

Commit

Permalink
ensure good internal ver and ©
Browse files Browse the repository at this point in the history
  • Loading branch information
ironsheep committed Sep 16, 2023
1 parent 5f7e2cf commit 9018b8d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
Binary file modified cgsm_flash_file_demo.zip
Binary file not shown.
4 changes: 3 additions & 1 deletion flash_fs.spin2
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

con { version }

LIB_VERSION = 130 ' 1.3.0
LIB_VERSION = 131 ' 1.3.1

#true, ON, OFF
#false, NO, YES
Expand Down Expand Up @@ -2805,6 +2805,8 @@ con { license }

Terms of Use: MIT License

Copyright (c) 2023 Iron Sheep Productions, LLC

Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the "Software"), to deal in the Software
without restriction, including without limitation the rights to use, copy, modify,
Expand Down
8 changes: 5 additions & 3 deletions flash_fs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@ _________________________________________________
pub seek(handle, position, whence) : end_position

Postion seek file pointer to position within the file or at the end of the file
-- use 0 for position to seek to the start of the file
-- use "size of file" to seek to the end of the file for append
-- use 0, SK_FILE_START for position to seek to the start of the file
-- use POSX, SK_FILE_START (largest positive LONG value) for position to seek to the current end of the file
@param handle - a handle to an open file
@param position - position (in bytes) within the file (0 to length-1)
use seek(handle, POSX, SK_FILE_START) to seek to end of the file
Expand All @@ -233,7 +233,7 @@ pub seek(handle, position, whence) : end_position
.. E_BAD_HANDLE if the handle is not valid,
.. E_BAD_SEEK_ARG if invalid whence value,
.. E_FILE_MODE if the file is not open in a mode supporting seeks,
.. E_FILE_SEEK if attempted seek past either end of file
.. E_FILE_SEEK if attempted seek past either end of file (and didn't use POSX for tail)

__________________________________________________
pub write(handle, p_buffer, count) : bytes_written
Expand Down Expand Up @@ -395,6 +395,8 @@ pub string_for_error(error_code) : p_interpretation

Terms of Use: MIT License

Copyright (c) 2023 Iron Sheep Productions, LLC

Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the "Software"), to deal in the Software
without restriction, including without limitation the rights to use, copy, modify,
Expand Down
2 changes: 2 additions & 0 deletions flash_fs_demo.spin2
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ con { license }

Terms of Use: MIT License

Copyright (c) 2023 Chip Gracey

Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the "Software"), to deal in the Software
without restriction, including without limitation the rights to use, copy, modify,
Expand Down

0 comments on commit 9018b8d

Please sign in to comment.