Skip to content

Commit

Permalink
quality calc変更
Browse files Browse the repository at this point in the history
  • Loading branch information
Blue-Crescent committed Feb 9, 2024
1 parent 6edff18 commit ea5b177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/JJYReceiver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ void JJYReceiver::delta_tick(){
quality = PM;
break;
}
quality = (quality * 100) / (N*8);
quality = constrain(((((quality * 100) / (N*8)) - 50) <<1),0,100);
#ifdef DEBUG_BUILD
debug();
debug4();
Expand Down

0 comments on commit ea5b177

Please sign in to comment.