pull/332/head
Peter Buchegger 2023-09-23 13:47:14 +00:00
rodzic f095f70a2b
commit fbb2071045
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -28,7 +28,7 @@ lib_deps =
shaggydog/OneButton @ 1.5.0
jgromes/RadioLib @ 6.1.0
check_tool = cppcheck
check_flags = cppcheck: --std=c++20 --suppress=*:*.pio\* --inline-suppr --suppress=unusedFunction --suppress=shadowFunction:*TimeLib.cpp --suppress=unreadVariable:*TimeLib.cpp
check_flags = cppcheck: --std=c++20 --suppress=*:*.pio\* --inline-suppr --suppress=unusedFunction --suppress=shadowFunction:*TimeLib.cpp --suppress=unreadVariable:*TimeLib.cpp --suppress=badBitmaskCheck:*project_configuration.cpp
check_skip_packages = yes
test_build_src = yes
# activate for OTA Update, use the CALLSIGN from is-cfg.json as upload_port:

Wyświetl plik

@ -51,7 +51,7 @@ bool TaskManager::loop(System &system) {
// cppcheck-suppress unusedFunction
void StatusFrame::drawStatusPage(Bitmap &bitmap) {
int y = 0;
for (Task *task : _tasks) {
for (Task const *const task : _tasks) {
int x = bitmap.drawString(0, y, (task->getName()).substring(0, task->getName().indexOf("Task")));
x = bitmap.drawString(x, y, ": ");
if (task->getStateInfo() == "") {