Fixed a typo and added and improved the checks for the returned data of loadFileDICTIONARY_safe.

This commit is contained in:
Matthias Konrath 2019-08-28 09:49:21 +02:00
commit ae7b0de2c9
2 changed files with 2 additions and 2 deletions

View file

@ -163,7 +163,7 @@ int loadFileJSON(const char *preferredName, void *data, size_t maxdatalen, size_
int loadFileDICTIONARY(const char *preferredName, void *data, size_t *datalen, uint8_t keylen, uint16_t *keycnt);
/**
* @brief Utility function to load data from a DICTIONARY safely into a textfile. This method takes a preferred name.
* @brief Utility function to load data safely from a DICTIONARY textfile. This method takes a preferred name.
* E.g. mfc_default_keys.dic
*
* @param preferredName