Fix missing #include <Arduino.h>

This commit is contained in:
RobTillaart 2017-09-27 08:42:54 +02:00
parent e14b8c22c7
commit 04d82f02d8
3 changed files with 7 additions and 4 deletions

View File

@ -2,7 +2,7 @@
// FILE: Statistic.cpp
// AUTHOR: Rob dot Tillaart at gmail dot com
// modified at 0.3 by Gil Ross at physics dot org
// VERSION: 0.3.4
// VERSION: 0.3.5
// PURPOSE: Recursive statistical library for Arduino
//
// NOTE: 2011-01-07 Gill Ross
@ -48,6 +48,8 @@
// Refactored const in many places
// [reverted] double to float on request as float is 99.99% of the cases
// good enough and float(32 bit) is supported in HW for some processors.
// 0.3.5 - 2017-09-27
// Added #include <Arduino.h> to fix uint32_t bug
//
// Released to the public domain
//

View File

@ -4,7 +4,7 @@
// FILE: Statistic.h
// AUTHOR: Rob dot Tillaart at gmail dot com
// modified at 0.3 by Gil Ross at physics dot org
// VERSION: 0.3.4
// VERSION: 0.3.5
// PURPOSE: Recursive Statistical library for Arduino
// HISTORY: See Statistic.cpp
//
@ -15,9 +15,10 @@
// it can be in/excluded by un/commenting next line (compile time)
#define STAT_USE_STDEV 1
#include <Arduino.h>
#include <math.h>
#define STATISTIC_LIB_VERSION "0.3.4"
#define STATISTIC_LIB_VERSION "0.3.5"
class Statistic
{

View File

@ -1,5 +1,5 @@
name=Statistics
version=0.3.4
version=0.3.5
author=Rob Tillaart <rob.tillaart@gmail.com>
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
sentence=Library with basic statistical functions for Arduino.