Skip to content

Commit

Permalink
increased maximum amperes to from 8 to 16
Browse files Browse the repository at this point in the history
  • Loading branch information
walkerjonny committed Apr 19, 2016
1 parent 0f72a15 commit 98e26e7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ private void setMaxAmperage(long amp) {
}

/**
* Incrases the maxAmperage by one Step overflow will be catched (>8 == 1)
* Incrases the maxAmperage by one Step overflow will be catched (>16 == 1)
*
* @return long the new maxAmperage
*/
public long incMaxAmperage(){
long tmp = (maxAmperage + 1);

if(tmp > 8)
if(tmp > 16)
tmp = 1;

maxAmperage = tmp;
Expand Down

0 comments on commit 98e26e7

Please sign in to comment.