Skip to content

Commit

Permalink
Merge pull request #76 from natemara/patch-1
Browse files Browse the repository at this point in the history
Fix constant name in Installation_Sketch
  • Loading branch information
NicoHood authored Oct 1, 2020
2 parents f1ca23b + 7a66e2c commit 720c5cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions avr/examples/Installation_Sketch/Installation_Sketch.ino
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
#if (HEXFILE == HEXFILE_HoodLoader2_0_5_Uno_atmega16u2_hex) || (HEXFILE == HEXFILE_HoodLoader2_0_5_Mega_atmega16u2_hex) \
|| (HEXFILE == HEXFILE_HoodLoader2_0_4_Uno_16u2_hex) || (HEXFILE == HEXFILE_HoodLoader2_0_4_Mega_16u2_hex) \
|| (HEXFILE == HEXFILE_Arduino_COMBINED_dfu_usbserial_atmega16u2_Uno_Rev3_hex_Full) \
|| (HEXFILE == HEXFILE_Arduino_COMBINED_dfu_usbserial_atmega16u2_Mega_Rev3_hex_Full) \
|| (HEXFILE == HEXFILE_Arduino_COMBINED_dfu_usbserial_atmega16u2_Mega2560_Rev3_hex_Full) \
|| (HEXFILE == HEXFILE_Arduino_COMBINED_dfu_usbserial_atmega16u2_Uno_Rev3_hex) \
|| (HEXFILE == HEXFILE_BootloaderDFU_atmega16u2_hex)

Expand Down Expand Up @@ -199,7 +199,7 @@

// DFU settings
#if (HEXFILE == HEXFILE_Arduino_COMBINED_dfu_usbserial_atmega16u2_Uno_Rev3_hex_Full) \
|| (HEXFILE == HEXFILE_Arduino_COMBINED_dfu_usbserial_atmega16u2_Mega_Rev3_hex_Full)
|| (HEXFILE == HEXFILE_Arduino_COMBINED_dfu_usbserial_atmega16u2_Mega2560_Rev3_hex_Full)

#define START_ADDRESS 0x0000 // Bootloader + Firmware
#define HIGH_FUSE 0xD9 // fuse high byte: SPI enable, NOT boot into bootloader, 4096 byte bootloader
Expand Down

0 comments on commit 720c5cc

Please sign in to comment.