Skip to content

Commit

Permalink
Merge pull request #64 from adafruit/pybadge_lc
Browse files Browse the repository at this point in the history
Small change to avoid compiler warning
  • Loading branch information
dhalbert authored May 17, 2019
2 parents 52bb46c + 855dbb8 commit 49723b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/selfmain.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@ int main(void) {
NVMCTRL->CTRLA.bit.CACHEDIS1 = true;
#endif

const uint8_t *ptr = bootloader;
int i;

#ifdef SAMD21
const uint8_t *ptr = bootloader;
for (i = 0; i < BOOTLOADER_K; ++i) {
int crc = 0;
for (int j = 0; j < 1024; ++j) {
Expand Down

0 comments on commit 49723b4

Please sign in to comment.