Fixing outstanding issues (#1537)

* Correct stopEnableAttemptsTimer thread affinity

* Restart correctly, if running as service

* Add instance# in API response

* Qt6 updates

* Update fallthrough guide

* Update Compile warning
This commit is contained in:
LordGrey
2022-12-19 14:04:35 +01:00
committed by GitHub
parent 10b755b2ec
commit 2217135336
9 changed files with 26 additions and 17 deletions

View File

@@ -95,9 +95,9 @@ void LedDeviceAdalight::prepareHeader()
case Adalight::AWA:
_bufferLength += 7;
[[clang::fallthrough]];
[[fallthrough]];
case Adalight::ADA:
[[clang::fallthrough]];
[[fallthrough]];
default:
totalLedCount -= 1;
_ledBuffer.resize(static_cast<size_t>(_bufferLength), 0x00);