Skip to content

Commit cfc46eb

Browse files
committed
rm unused ASSERT_CONST
1 parent e45ad14 commit cfc46eb

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

avr/cores/picocore/Arduino.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@ inline ioregptr portInputRegister(unsigned addr)
4949

5050
void badArg(const char*) __attribute((error("")));
5151

52-
#define ASSERT_CONST(pin) \
53-
if (!__builtin_constant_p(pin)) badArg("pin must be a constant")
54-
5552
__attribute((always_inline))
5653
inline void check_valid_digital_pin(uint8_t pin)
5754
{

0 commit comments

Comments
 (0)