Skip to content

Commit 17fd64e

Browse files
committed
refactor
1 parent 583dba5 commit 17fd64e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/local/as_common.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// ArduinoShrink refactored code here
2+
3+
#pragma once
4+
5+
// avr-libc math.h does not declare gcc log2 builtin
6+
double log2(double);
7+
8+
// portability macros for mega8
9+
#ifndef TCCR0B
10+
#define TCCR0B TCCR0
11+
#define TIMSK0 TIMSK
12+
#endif
13+

0 commit comments

Comments
 (0)