make pretty using clang-format 10

This commit is contained in:
Steve Karg
2020-06-19 14:44:32 -05:00
parent be57c73508
commit 15dce68947
71 changed files with 660 additions and 597 deletions
+4 -2
View File
@@ -196,7 +196,8 @@ int dcc_encode_apdu(uint8_t *apdu,
/* optional password */
if (password) {
if ((password->length >= 1) && (password->length <= 20)) {
len = encode_context_character_string(&apdu[apdu_len], 2, password);
len = encode_context_character_string(
&apdu[apdu_len], 2, password);
apdu_len += len;
}
}
@@ -212,7 +213,8 @@ int dcc_encode_apdu(uint8_t *apdu,
* @param apdu Pointer to the received request.
* @param apdu_len_max Valid count of bytes in the buffer.
* @param timeDuration Pointer to the duration given in minutes [optional]
* @param enable_disable Pointer to the variable takingthe communication enable/disable.
* @param enable_disable Pointer to the variable takingthe communication
* enable/disable.
* @param password Pointer to the password [optional]
*
* @return Bytes decoded.