Skip to content

Commit 55400fd

Browse files
committed
Limit library to ATmega328 based boards.
1 parent f38ee30 commit 55400fd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dtmfgen.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
#ifndef DTMF_GENERATOR_H
2323
#define DTMF_GENERATOR_H
2424

25+
#if !defined(__AVR_ATmega328P__)
26+
#error Unsupported board. This library support ATmega328P based Arduino Uno boards only.
27+
#endif
28+
2529
class DTMFGenerator
2630
{
2731
public:

0 commit comments

Comments
 (0)