mega2560 update

Junk pulses on PORTB_4 with SD-Card option
This commit is contained in:
JivaroFAD
2014-12-16 22:29:10 +01:00
parent 8d812d5314
commit 5ca286c171
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -604,7 +604,7 @@ ifeq ($(PCB), MEGA2560)
TRGT = avr-
MCU = atmega2560
OPT = s
CPPDEFS = -DF_CPU=$(F_CPU)UL -DPCBMEGA2560 -DCPUM2560 -DEEPROM_VARIANT=0 -DAUDIO -DRTCLOCK
CPPDEFS = -DF_CPU=$(F_CPU)UL -DPCBMEGA2560 -DCPUM2560 -DEEPROM_VARIANT=0 -DAUDIO
SDCARD = YES
BUZZER = YES
THR_TRACE = YES
+1 -1
View File
@@ -72,7 +72,7 @@
/* Port Controls (Platform dependent) */
// GCC optimisation should result in a single CBI/SBI instructions here
#if defined (PCBGRUVIN9X)
#if defined (CPUM2560)
# define CS_LOW() PORTB &= ~0x01 /* MMC CS = L */
# define CS_HIGH() PORTB |= 0x01 /* MMC CS = H */
#else