mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Allow forwarding of flat-/proto buffer input (#1471)
* Typo * Address compiler Warnings * Allow forwarding of flat-/proto buffer input
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -279,7 +279,7 @@ int LedDeviceRazer::write(const std::vector<ColorRgb>& ledValues)
|
||||
for (int col = 0; col < _maxColumn; col++) {
|
||||
int pos = row * _maxColumn + col;
|
||||
int bgrColor;
|
||||
if (pos < ledValues.size())
|
||||
if (pos < static_cast<int>(ledValues.size()))
|
||||
{
|
||||
bgrColor = (ledValues[pos].red * 65536) + (ledValues[pos].green * 256) + ledValues[pos].blue;
|
||||
}
|
||||
|
@@ -14,8 +14,6 @@
|
||||
// Constants
|
||||
namespace {
|
||||
|
||||
bool verbose = false;
|
||||
|
||||
const QChar ONE_SLASH = '/';
|
||||
|
||||
const int HTTP_STATUS_NO_CONTENT = 204;
|
||||
|
Reference in New Issue
Block a user