Skip to content

Commit 16090a0

Browse files
committed
bugfix2
1 parent dc1d674 commit 16090a0

File tree

3 files changed

+5
-13
lines changed

3 files changed

+5
-13
lines changed

platformio.ini

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,13 @@ board_build.filesystem = littlefs
1414
monitor_speed = 115200
1515
lib_deps =
1616
https://github.com/bblanchon/ArduinoJson
17-
https://github.com/SerhiiLe/DFMiniMp3
17+
https://github.com/SerhiiLe/DFMiniMp3E
1818
https://github.com/GyverLibs/FastBot
1919
https://github.com/FastLED/FastLED
2020
https://github.com/charno/FTPClientServer
2121
https://github.com/GyverLibs/GyverButton
2222
https://github.com/tzapu/WiFiManager
23-
https://github.com/plerup/espsoftwareserial.git ;#8.0.1
24-
https://github.com/dok-net/ghostl
23+
https://github.com/plerup/espsoftwareserial
2524
https://github.com/adafruit/RTClib
2625
https://github.com/adafruit/Adafruit-BMP085-Library
2726
https://github.com/cyberp/AT24Cx
@@ -54,11 +53,6 @@ build_flags = -D ESP32=1 -D ESP32C3=1
5453
-D ARDUINO_USB_MODE=1
5554
-D ARDUINO_USB_CDC_ON_BOOT=1
5655

57-
; -D CONFIG_ESP_CONSOLE_UART_NUM=-1
58-
59-
; -D CONFIG_ESP_CONSOLE_UART_BAUDRATE=115200
60-
; -D CONFIG_ESP_CONSOLE_UART_DEFAULT=1
61-
; -D ARDUINO_ESP32C3_DEV=1
6256

6357
[platformio]
6458
description = Led WS2812B matrix clock

src/barometer.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,11 @@ bool barometer_init() {
3333
} else
3434
if( bmp2.begin(address_bme280) ) {
3535
fl_barometerIsInit = 2;
36-
uint32_t type = bmp2.sensorID();
37-
LOG(printf_P, PSTR("BMP280 found, type: 0x%02X\n"), type);
36+
LOG(printf_P, PSTR("BMP280 found, type: 0x%02X\n"), bmp2.sensorID());
3837
} else
3938
if( bme.begin(address_bme280) ) {
4039
fl_barometerIsInit = 4;
41-
uint32_t type = bme.sensorID();
42-
LOG(printf_P, PSTR("BME280 found, type: 0x%02X\n"), type);
40+
LOG(printf_P, PSTR("BME280 found, type: 0x%02X\n"), bme.sensorID());
4341
return true;
4442
}
4543
if( aht.begin() ) {

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @file main.cpp
33
* @author Serhii Lebedenko ([email protected])
44
* @brief Clock
5-
* @version 2.3.1
5+
* @version 2.3.2
66
* @date 2025-05-02
77
*
88
* @copyright Copyright (c) 2021,2022,2023,2024,2025

0 commit comments

Comments
 (0)