Use length constant instead of literal

Co-authored-by: Ladislas de Toldi <ladislas@detoldi.me>
pull/14076/head
George Psimenos 2021-01-14 13:20:36 +00:00 committed by GitHub
parent 3b665dd29e
commit e6c43bd943
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ namespace MbedTesterConst {
const uint8_t analog_count = 4;
const size_t key_len = 8;
const uint8_t key[8] = {
const uint8_t key[key_len] = {
0x92, 0x9d, 0x9a, 0x9b,
0x29, 0x35, 0xa2, 0x65
};