Browse Source

tests/periph_cpuid: s/CPUID_ID_LEN/CPUID_LEN/

pr/gpio
Hauke Petersen 7 years ago
parent
commit
f09a631d66
  1. 4
      tests/periph_cpuid/main.c

4
tests/periph_cpuid/main.c

@ -27,7 +27,7 @@
int main(void)
{
uint8_t id[CPUID_ID_LEN];
uint8_t id[CPUID_LEN];
puts("Test for the CPUID driver");
puts("This test is reading out the CPUID of the platforms CPU\n");
@ -37,7 +37,7 @@ int main(void)
/* print the CPUID */
printf("CPUID:");
for (unsigned int i = 0; i < CPUID_ID_LEN; i++) {
for (unsigned int i = 0; i < CPUID_LEN; i++) {
printf(" 0x%02x", id[i]);
}
printf("\n");

Loading…
Cancel
Save