3-phase PV router
Loading...
Searching...
No Matches
type_traits.hpp
Go to the documentation of this file.
1
12
13// ArduinoJson - https://arduinojson.org
14// Copyright © 2014-2024, Benoit BLANCHON
15// MIT License
16
17#pragma once
18
19#include <stdint.h>
20
22#include "type_traits/decay.hpp"
43
51#define MINUTES(value) \
52 integral_constant< uint16_t, (value) > {}
53
61#define HOURS(value) MINUTES((value) * 60)
std::index_sequence, which avr-libc lacks, on 8-bit indexes