Skip to content

Commit 6d884b1

Browse files
authored
F1: update wirish_math.h to fix error 'isnan' was not declared in this scope
1 parent 5236648 commit 6d884b1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

STM32F1/cores/maple/wirish_math.h

+1-2
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,7 @@ long random(long min, long max);
107107

108108
#ifdef __cplusplus
109109
#include <algorithm>
110-
using std::min;
111-
using std::max;
110+
using namespace std;
112111
#else // C
113112
#include <stdlib.h>
114113
#ifndef min

0 commit comments

Comments
 (0)