Skip to content
This repository has been archived by the owner on Mar 3, 2019. It is now read-only.

Commit

Permalink
Bugfix memory manager
Browse files Browse the repository at this point in the history
  • Loading branch information
PFGimenez committed May 27, 2017
1 parent 56d4b82 commit c03c292
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pc/src/remoteControl/Client.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public Client(String[] args) throws InterruptedException
Config config = new Config();
log.useConfig(config);

Commandes.STOP.setCode(32);
Commandes.RESET_WHEELS.setCode(config.getInt(ConfigInfo.RESET_WHEELS_KEY));
Commandes.SPEED_DOWN.setCode(config.getInt(ConfigInfo.SPEED_DOWN_KEY));
Commandes.SPEED_UP.setCode(config.getInt(ConfigInfo.SPEED_UP_KEY));
Expand Down Expand Up @@ -241,6 +242,7 @@ public synchronized void keyPressed(KeyEvent arg0)
if(out == null)
return;


for(Commandes c : Commandes.values())
if(code == c.code)
{
Expand Down

0 comments on commit c03c292

Please sign in to comment.