---
title: "Discussion on \"Closing SD Card Files Before CircuitPython Resets the Bus\" | Hashnode"
description: "Discussion on \"Closing SD Card Files Before CircuitPython Resets the Bus\". How Adafruit's merged PR #12017 preserves writes by closing flagged FAT files while the SD-card bus is still available."
url: "https://hashnode.com/posts/closing-sd-card-files-before-circuitpython-resets-the-bus/6b110fd5fa0a103ad8c7ee63"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Closing SD Card Files Before CircuitPython Resets the Bus](https://shaxntanu.hashnode.dev/closing-sd-card-files-before-circuitpython-resets-the-bus?utm_source=hashnode&utm_medium=feed)

How Adafruit's merged PR #12017 preserves writes by closing flagged FAT files while the SD-card bus is still available.

1h ago · 6 min read · shaxntanu.hashnode.dev  
Read the article

-   [#circuitpython](https://hashnode.com/tag/circuitpython)
-   [#adafruit](https://hashnode.com/tag/adafruit)
-   [#sd-card](https://hashnode.com/tag/sd-card)
-   [#embedded-systems](https://hashnode.com/tag/embedded-systems)
-   [#open-source](https://hashnode.com/tag/open-source)

## Written by

[Shantanu](https://hashnode.com/@shaxntanu)

@shaxntanu · Delhi, India

  
[View profile](https://hashnode.com/@shaxntanu)

wokeuplikethis\*

Tech enthusiast, interested in ECE and other multidisciplinary projects.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
