From: Mark Qvist Date: Fri, 21 Jan 2022 21:08:55 +0000 (+0100) Subject: Work on ATmega2560 compatibility X-Git-Url: https://git.tnoah.ca/?a=commitdiff_plain;h=d060c1be33ee71b1bcf0d2e815af73d5ee5b0d8a;p=lora-radio.git Work on ATmega2560 compatibility --- diff --git a/Config.h b/Config.h index 18ce9e1..9c9ea97 100644 --- a/Config.h +++ b/Config.h @@ -4,7 +4,7 @@ #define CONFIG_H #define MAJ_VERS 0x01 - #define MIN_VERS 0x17 + #define MIN_VERS 0x18 #define PLATFORM_AVR 0x90 #define PLATFORM_ESP32 0x80 @@ -63,8 +63,8 @@ #define EEPROM_OFFSET EEPROM_SIZE-EEPROM_RESERVED #elif MCU_VARIANT == MCU_2560 - const int pin_cs = 10; - const int pin_reset = 9; + const int pin_cs = 5; + const int pin_reset = 4; const int pin_dio = 2; const int pin_led_rx = 12; const int pin_led_tx = 13;