clean up
This commit is contained in:
1 parent
2121a16d34
commit
157664702c
2 files changed
+5
-5
No files matched your search
+2
-2
@@ -61,13 +61,13 @@ extern "C"
|
||||
static inline void VERIFY_MESS_impl(int32_t _status, const char* (*_fstr)(int32_t), const char* func_name, int line_number)
|
||||
{
|
||||
printf("%s: %d: verify failed, error = ", func_name, line_number);
|
||||
if (_fstr)
|
||||
if (_fstr && _fstr(_status))
|
||||
{
|
||||
printf(_fstr(_status));
|
||||
}
|
||||
else
|
||||
{
|
||||
printf("%ld", _status);
|
||||
printf("0x%lX (%ld)", _status, _status);
|
||||
}
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
@@ -53,9 +53,9 @@ using namespace Adafruit_LittleFS_Namespace;
|
||||
|
||||
/*------------------------------------------------------------------*/
|
||||
/* Bond Key is saved in following layout
|
||||
* - Bond Data : 80 bytes
|
||||
* - Name : variable (including null char)
|
||||
* - CCCD : variable
|
||||
* - Keyset : 80 bytes (sizeof(bond_keys_t))
|
||||
* - Name : variable (including null char)
|
||||
* - CCCD : variable
|
||||
*
|
||||
* Each field has an 1-byte preceding length
|
||||
*------------------------------------------------------------------*/
|
||||
|
||||
Reference in new issue
Block a user