Commit Graph
8 Commits
Author SHA1 Message Date
Frédéric DesbiensandCopilot edc2427de6 Fixed flush call in fx_media_format to mirror fx_media_close pattern
- Added blank line after #ifndef FX_MEDIA_STATISTICS_DISABLE for style consistency
- Used local driver variable instead of media_ptr->fx_media_driver_entry
- Removed early return on flush failure so FX_DRIVER_UNINIT is always
  called after FX_DRIVER_INIT, preventing driver resource leaks

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-02 11:42:41 -04:00
Thomas Friedel 339082886f Add flush call to fx_media_format
Adds a call to the I/O driver with FX_DRIVER_FLUSH to fx_media_format()
before uninitializing the driver.

Fixes Issue #88
2026-03-16 15:59:29 +01:00
Frédéric Desbiens 61b0b06c3e Updated copyright headers and removed revision history
* Updated version number constants

* Updated copyright headers and removed revision history
2026-03-05 08:39:33 +01:00
Haithem Rahmani 853f8a2431 Update media driver status initialization FX_DRIVER_INIT request
Main Changes
------------
- In fx_media_format(), set fx_media_driver_status to FX_MEDIA_INVALID
  to indicate the request originates from a format call.

- In fx_media_open(), set fx_media_driver_status to FX_MEDIA_NOT_OPEN
   to indicate the request originates from an open call.

Fixed issues
-------------
-Issue #79

Signed-off-by: Haithem Rahmani <haithem.rahmani@st.com>
2025-11-27 14:31:38 +01:00
nflandin 151b9158ee re: issue 47 by coran21
Correction of FSINFO trail signature in format function
2024-09-03 15:05:19 -07:00
nflandin ee280d9d14 Update fx_media_format.c
Correction to boot record signature writing; attempted to bring in line with design intent of variable length boot record as used earlier in function.
2024-06-21 10:50:48 -07:00
Bo Chen (from Dev Box) 8c3b71832c Update copyright. 2024-01-29 13:57:34 +08:00
TiejunZhou 14884808b5 Transition FileX to Eclipse Fundation 2024-01-02 07:35:14 +00:00