Control Surface
main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
src
AH
Arduino-Wrapper.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
AH/Math/MinMaxFix.hpp
>
4
#include <AH/STL/type_traits>
5
6
AH_DIAGNOSTIC_EXTERNAL_HEADER
()
7
#include <Arduino.h>
// min max
8
AH_DIAGNOSTIC_POP
()
9
10
AH_DIAGNOSTIC_WERROR
()
// Enable errors on warnings
11
12
#ifdef PSTR
13
#pragma push_macro("PSTR")
14
#undef PSTR
15
#define PSTR(s) (s)
16
#endif
17
18
using
FlashString_t
= std::remove_reference<
decltype
(*F(
""
))>::type *;
19
20
#ifdef PSTR
21
#pragma pop_macro("PSTR")
22
#endif
23
24
AH_DIAGNOSTIC_POP
()
FlashString_t
std::remove_reference< decltype(*F(""))>::type * FlashString_t
Definition
Arduino-Wrapper.h:18
MinMaxFix.hpp
AH_DIAGNOSTIC_EXTERNAL_HEADER
#define AH_DIAGNOSTIC_EXTERNAL_HEADER()
Definition
Warnings.hpp:51
AH_DIAGNOSTIC_POP
#define AH_DIAGNOSTIC_POP()
Definition
Warnings.hpp:50
AH_DIAGNOSTIC_WERROR
#define AH_DIAGNOSTIC_WERROR()
Definition
Warnings.hpp:49
Generated by
1.10.0