Home
last modified time | relevance | path

Searched refs:SWAPPTR (Results 1 – 1 of 1) sorted by relevance

/lvgl-latest/src/extra/widgets/colorwheel/
Dlv_colorwheel.c597 #define SWAPPTR(A, B) do { uint8_t * t = A; A = B; B = t; } while(0) macro
598 …HSV_PTR_SWAP(sextant,r,g,b) if((sextant) & 2) { SWAPPTR((r), (b)); } if((sextant) & 4) { SWAPP…
599 … if(!((sextant) & 1)) { SWAPPTR((r), (g)); } } else { if((sextant) & 1) { SWAPPTR((r), (g)); } }