porklib: Simple library for programming Arduino in C
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#pragma once
|
|
|
|
#include "blockdev.h"
|
|
|
|
/**
|
|
* Flush the sector buffer if it's dirty.
|
|
*
|
|
* Should be called after each sequence of writes,
|
|
* to avoid data loss.
|
|
*/
|
|
void sdb_flush();
|
|
|
|
/** Initialize the SD card block device */
|
|
bool sdb_init(BLOCKDEV* dev);
|
|
|