Prusa-MMU-Private
PrusaMultiMaterialUpgradev3firmwareforMK3SMK4
src
intlimits.h
Go to the documentation of this file.
1
#pragma once
3
#ifndef __AVR__
4
#include <limits>
5
#else
6
7
// A minimal std::numeric_limits for platforms that lack one
8
#include <stddef.h>
9
#include <stdint.h>
10
11
namespace
std {
12
13
template
<
typename
T>
14
class
numeric_limits;
15
16
template
<>
17
class
numeric_limits<uint8_t> {
18
public
:
19
static
constexpr
size_t
max() {
return
UINT8_MAX; }
20
};
21
22
}
// namespace std
23
24
#endif
Generated by
1.9.1