Also fix min/max outside of AVR by using the standard std::min/max
parent
b55c13dec2
commit
d23ed53f3c
|
|
@ -3,7 +3,11 @@
|
|||
#pragma once
|
||||
|
||||
#ifndef __AVR__
|
||||
#include <cmath>
|
||||
#include <cmath> // abs
|
||||
|
||||
#include <algorithm>
|
||||
using std::max;
|
||||
using std::min;
|
||||
#else
|
||||
|
||||
// AVR libc doesn't support cmath
|
||||
|
|
|
|||
Loading…
Reference in New Issue