FastLED 3.9.15
Loading...
Searching...
No Matches

◆ maxValue()

u8 fl::Tile2x2_u8::maxValue ( ) const

Definition at line 102 of file tile2x2.cpp.hpp.

102 {
103 u8 max = 0;
104 max = fl::max(max, at(0, 0));
105 max = fl::max(max, at(0, 1));
106 max = fl::max(max, at(1, 0));
107 max = fl::max(max, at(1, 1));
108 return max;
109}
u8 & at(int x, int y)
Definition tile2x2.h:34
unsigned char u8
Definition stdint.h:131
constexpr common_type_t< T, U > max(T a, U b) FL_NOEXCEPT
Definition math.h:75

References at(), and fl::max().

+ Here is the call graph for this function: