-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chips/atmega: Adapt to more recent avr libc
avr libc has changed how float and double stuff is managed; a couple of minor changes are needed to cope. Signed-off-by: Keith Packard <[email protected]>
- Loading branch information
1 parent
79cd805
commit 85108d7
Showing
2 changed files
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,6 @@ | |
#include <stdlib.h> | ||
|
||
#ifdef AVR | ||
#define float double | ||
#include <avr/pgmspace.h> | ||
#else | ||
#define __flash | ||
|