Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
awolf78 authored and awolf78 committed Mar 29, 2017
1 parent 1c7982e commit f21fff6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion KISS_OSD/KISS_OSD.ino
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ void loop(){
}
else
{
OSD.printInt16(settings.m_OSDItems[MAH][0], settings.m_OSDItems[MAH][1], LipoMAH+previousMAH, 0, 1, "mah", MAHp);
OSD.printInt16(settings.m_OSDItems[MAH][0], settings.m_OSDItems[MAH][1], LipoMAH+previousMAH, 0, 1, "mah", 0, MAHp);
}
}

Expand Down
2 changes: 1 addition & 1 deletion KISS_OSD/Protocol.ino
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ void ReadFCSettings(boolean skipValues, uint8_t sMode)
uint8_t checksum2 = getCheckSum(serialBuf2, STARTCOUNT, stopByte);

uint8_t index = 0;
if(checksum2 == serialBuf2[recBytes-1])// || (checksum-1) == serialBuf2[recBytes-1])
if(checksum2 == serialBuf2[recBytes-1])
{
if(!skipValues)
{
Expand Down
2 changes: 1 addition & 1 deletion KISS_OSD_CONFIG/KISS_OSD_CONFIG.ino
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,7 @@ void loop() {
else
{
if (OSD_ITEM_BLINK[MAH]) OSD.blink1sec();
itemLengthOK[MAH] = OSD.printInt16(settings.m_OSDItems[MAH][0], settings.m_OSDItems[MAH][1], LipoMAH + previousMAH, 0, 1, "mah", MAHp);
itemLengthOK[MAH] = OSD.printInt16(settings.m_OSDItems[MAH][0], settings.m_OSDItems[MAH][1], LipoMAH + previousMAH, 0, 1, "mah", 0, MAHp);
}
}

Expand Down

0 comments on commit f21fff6

Please sign in to comment.