Skip to content

Conversation

@will-v-pi
Copy link
Contributor

Check that the OTP rows being used for the hello_otp example are 0 before the example starts, else the example will throw other errors. This was prompted by #554, so it will now throw an error in that case explaining that the rows need to be changed.

@kilograham kilograham merged commit 9021fdd into raspberrypi:develop Sep 27, 2024
1 check passed
}
for (int i=0; i < sizeof(initial_data); i++) {
if (initial_data[i] != 0) {
printf("ERROR: This example requires empty OTP rows to run - change the ecc_row and raw_row variables to an empty row and recompile\n");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor nitpick: I wonder if "to an empty row" should have been "to empty rows", in case people misinterpret "change the ecc_row and raw_row variables to an empty row" to mean "set them to the same empty row"?

@will-v-pi will-v-pi deleted the hello-otp-check branch October 30, 2024 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants