clangify includes

This commit is contained in:
Drath
2025-10-29 01:26:47 +01:00
parent 33f343fa0a
commit 68cd4b0bfe
12 changed files with 63 additions and 53 deletions

View File

@@ -4,16 +4,8 @@
#define LCD_LINES 4
#define LCD_COLS 40
#include <fcntl.h>
#include <termios.h>
#include <unistd.h>
#include <array>
#include <cstdint>
#include <cstring>
#include <iostream>
#include <log.hpp>
#include <sstream>
#include <string>
class LCDDisplay {
@@ -23,8 +15,7 @@ class LCDDisplay {
char writebuf[LCD_LINES * LCD_COLS + 8]; // 4x40 chars + 2x4 setcursor commands
static constexpr bool dualDisp = (LCD_LINES * LCD_COLS > 80); // is it dual display device or not, evauluated from the size at compile time
void writeLines(std::array<std::string, 4> lines); // do not use
public:
LCDDisplay(std::string dev, uint32_t baud = 0010002); // from termios-baud.h, B115200
~LCDDisplay();