1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-15 23:13:07 +01:00

Fix warnings

This commit is contained in:
2024-11-20 10:42:38 +01:00
parent 64cb33ba67
commit a75ea95694
3 changed files with 4 additions and 4 deletions

View File

@@ -182,7 +182,7 @@ public:
// utility functions:
static uint8_t readRegister(uint8_t address);
static uint8_t writeRegister(uint8_t address, uint8_t value);
static void writeRegister(uint8_t address, uint8_t value);
static uint8_t bcd2bin (uint8_t val) { return val - 6 * (val >> 4); }
static uint8_t bin2bcd (uint8_t val) { return val + 6 * (val / 10); }
};