1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 00:05:33 +03:00

Fixed some whitespace around operators

one compiller warning about possible uninitialized variable supressed
This commit is contained in:
Petr Ledvina 2014-11-06 17:36:40 +01:00
parent d2e895ac93
commit 8d22a85222
9 changed files with 40 additions and 41 deletions

View file

@ -106,7 +106,7 @@ STATIC_UNIT_TESTED void fastUpdateLEDDMABuffer(rgbColor24bpp_t *color)
STATIC_UNIT_TESTED void updateLEDDMABuffer(uint8_t componentValue)
{
uint8_t bitIndex;
for (bitIndex = 0; bitIndex < 8; bitIndex++)
{
if ((componentValue << bitIndex) & 0x80 ) // data sent MSB first, j = 0 is MSB j = 7 is LSB