Using 1 to bitwise set all bits of a byte

前端 未结 0 1480
清歌不尽
清歌不尽 2021-02-19 00:25

I currently hardcode a value to 255 like so

uint8_t outStates       = 0xFF;

But I have a macro that would be cleaner to use

#defin         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题