Commit 45aa3bd2 authored by Michael Büsch's avatar Michael Büsch

Fix typo.

Signed-off-by: Michael Büsch's avatarMichael Buesch <mb@bu3sch.de>
parent c7913bc8
......@@ -293,10 +293,16 @@ static int modify_value(uint8_t *sprom,
sprom[SPROM_BOARDREV + 1] |= (1 << 5);
break;
case VALUE_ANTGA:
sprom[SPROM_ANTENNA_GAIN + 0] = (v & 0xFF);
if (sprom_rev != 4)
sprom[SPROM_ANTENNA_GAIN + 1] = (v & 0xFF);
else
sprom[SPROM4_ANTENNA_GAIN + 1] = (v & 0xFF);
break;
case VALUE_ANTGBG:
sprom[SPROM_ANTENNA_GAIN + 1] = (v & 0xFF);
if (sprom_rev != 4)
sprom[SPROM_ANTENNA_GAIN] = (v & 0xFF);
else
sprom[SPROM4_ANTENNA_GAIN] = (v & 0xFF);
break;
case VALUE_PA0B0:
sprom[SPROM_PA0B0 + 0] = (v & 0x00FF);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment