Added a couple more debug statements

This commit is contained in:
Alex Stewart 2016-03-08 23:13:15 -08:00
parent 16f611358b
commit c772ea043d
2 changed files with 10 additions and 3 deletions

View file

@ -1,18 +1,22 @@
#ifndef _SYSPARAM_H_
#define _SYSPARAM_H_
#include <esp/types.h>
/** @file sysparam.h
*
* Read/write "system parameters" to persistent flash.
*
* System parameters are stored as key/value pairs. Keys are string values
* between 1 and 255 characters long. Values can be any data up to 255 bytes
* in length (but are most commonly also strings).
* in length (but are most commonly also text strings). Up to 126 key/value
* pairs can be stored at a time.
*
* Keys and values are stored in flash using a progressive list structure
* which allows space-efficient storage and minimizes flash erase cycles,
* improving write speed and increasing the lifespan of the flash memory.
*/
#include <esp/types.h>
#ifndef SYSPARAM_REGION_SECTORS
/** Number of (4K) sectors that make up a sysparam region. Total sysparam data
* cannot be larger than this. Note that the full sysparam area is two