Also fix min/max outside of AVR by using the standard std::min/max

pull/108/head
Yuri D'Elia 2021-08-29 14:27:29 +02:00 committed by DRracer
parent b55c13dec2
commit d23ed53f3c
1 changed files with 5 additions and 1 deletions

View File

@ -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