Small things

- Remove leds[] in comments
- freqmatrix default mapping to circle
- t_bri compile error
This commit is contained in:
ewowi
2022-08-02 18:05:55 +02:00
parent 2ca5e0c8b8
commit 4202fb8cdc
2 changed files with 6 additions and 6 deletions

View File

@@ -434,8 +434,8 @@ void IRAM_ATTR Segment::setPixelColor(int i, uint32_t col)
strip.leds[start + i] = col; //ewowi: is this right?
uint16_t len = length();
uint8_t _bri_t = strip._bri_t;
//uint8_t _bri_t = currentBri(getOption(SEG_OPTION_ON) ? opacity : 0);
// uint8_t _bri_t = strip._bri_t;
uint8_t _bri_t = currentBri(getOption(SEG_OPTION_ON) ? opacity : 0);
if (_bri_t < 255) {
byte r = scale8(R(col), _bri_t);
byte g = scale8(G(col), _bri_t);