Skip to content

Commit e6c43bd

Browse files
gpsimenosladislas
andauthored
Use length constant instead of literal
Co-authored-by: Ladislas de Toldi <[email protected]>
1 parent 3b665dd commit e6c43bd

File tree

1 file changed

+1
-1
lines changed
  • features/frameworks/COMPONENT_FPGA_CI_TEST_SHIELD/source

1 file changed

+1
-1
lines changed

features/frameworks/COMPONENT_FPGA_CI_TEST_SHIELD/source/MbedTester.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ namespace MbedTesterConst {
3838
const uint8_t analog_count = 4;
3939

4040
const size_t key_len = 8;
41-
const uint8_t key[8] = {
41+
const uint8_t key[key_len] = {
4242
0x92, 0x9d, 0x9a, 0x9b,
4343
0x29, 0x35, 0xa2, 0x65
4444
};

0 commit comments

Comments
 (0)