Updated to newest IDF with new GCC
This commit is contained in:
@@ -16,8 +16,8 @@ public:
|
|||||||
result_type operator()() const { return esp_random(); }
|
result_type operator()() const { return esp_random(); }
|
||||||
|
|
||||||
double entropy() const { return 1.; }
|
double entropy() const { return 1.; }
|
||||||
static result_type min() { return std::numeric_limits<result_type>::min(); }
|
static constexpr result_type min() { return std::numeric_limits<result_type>::min(); }
|
||||||
static result_type max() { return std::numeric_limits<result_type>::max(); }
|
static constexpr result_type max() { return std::numeric_limits<result_type>::max(); }
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace espcpputils
|
} // namespace espcpputils
|
||||||
|
Reference in New Issue
Block a user