Skip to content

Commit 2568b78

Browse files
committed
use __SAMD51__ macro for io.h
1 parent 3bb94f5 commit 2568b78

File tree

1 file changed

+1
-1
lines changed
  • cores/arduino/avr

1 file changed

+1
-1
lines changed

cores/arduino/avr/io.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#ifndef _IO_H_
2626
#define _IO_H_
2727

28-
#ifdef HSRAM_ADDR
28+
#ifdef __SAMD51__
2929
#define RAMSTART (HSRAM_ADDR)
3030
#define RAMSIZE (HSRAM_SIZE)
3131
#else

0 commit comments

Comments
 (0)