Fix signed/unsigned mismatch warning in RGBController_LogitechG815.cpp
This commit is contained in:
parent
dae9cd2c3a
commit
29c77edd37
1 changed files with 6 additions and 6 deletions
|
|
@ -400,9 +400,9 @@ void RGBController_LogitechG815::DeviceUpdateLEDs()
|
||||||
frame_buffer_big_mode[2] = RGBGetBValue(x.first);
|
frame_buffer_big_mode[2] = RGBGetBValue(x.first);
|
||||||
frame_pos = 3;
|
frame_pos = 3;
|
||||||
|
|
||||||
for(uint8_t i = 0; i < max_key_per_color; i++)
|
for(uint8_t i = 0; i < (uint8_t)max_key_per_color; i++)
|
||||||
{
|
{
|
||||||
if(bi + i < x.second.size())
|
if((bi + i) < (uint8_t)x.second.size())
|
||||||
{
|
{
|
||||||
frame_buffer_big_mode[frame_pos] = x.second[bi+i];
|
frame_buffer_big_mode[frame_pos] = x.second[bi+i];
|
||||||
frame_pos++;
|
frame_pos++;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue