** Function: setBrightness ** location: settings.cpp ** set brightness value **********************************************************************/
| 68 | ** set brightness value |
| 69 | **********************************************************************/ |
| 70 | void _setBrightness(uint8_t brightval) { |
| 71 | int bl = MINBRIGHT + round(((255 - MINBRIGHT) * bright / 100)); |
| 72 | analogWrite(TFT_BL, bl); |
| 73 | } |
| 74 | |
| 75 | /********************************************************************* |
| 76 | ** Function: InputHandler |
nothing calls this directly
no outgoing calls
no test coverage detected