| 10 | static const auto LOGGER = tt::Logger("EspLcdDispV2"); |
| 11 | |
| 12 | inline unsigned int getBufferSize(const std::shared_ptr<EspLcdConfiguration>& configuration) { |
| 13 | if (configuration->bufferSize != DEFAULT_BUFFER_SIZE) { |
| 14 | return configuration->bufferSize; |
| 15 | } else { |
| 16 | return configuration->horizontalResolution * (configuration->verticalResolution / 10); |
| 17 | } |
| 18 | } |
| 19 | |
| 20 | EspLcdDisplayV2::~EspLcdDisplayV2() { |
| 21 | check( |
no outgoing calls
no test coverage detected