mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-04-05 22:46:59 +00:00
Use const uint8_t instead of non-const.
This commit is contained in:
parent
880df2536d
commit
e7ff0d1898
1 changed files with 1 additions and 1 deletions
2
FM.cpp
2
FM.cpp
|
|
@ -645,7 +645,7 @@ uint8_t CFM::writeData(const uint8_t* data, uint8_t length)
|
|||
uint16_t sample2 = 0U;
|
||||
uint16_t MASK = 0x0001U;
|
||||
|
||||
uint8_t* base = data + i;
|
||||
const uint8_t* base = data + i;
|
||||
for (uint8_t j = 0U; j < 12U; j++, MASK <<= 1) {
|
||||
uint8_t pos1 = j;
|
||||
uint8_t pos2 = j + 12U;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue