Some beautification for the Contiki online configurator.

This commit is contained in:
Oliver Schmidt 2013-10-03 23:51:01 +02:00
parent 57d9c43a33
commit 73684b32c7
2 changed files with 35 additions and 38 deletions

View file

@ -12,6 +12,10 @@ case 'apple2':
$hex = $_GET['apple2-addr'];
$drv = $_GET['apple2-drv'];
break;
case 'atari':
$hex = strtok($_GET['atari-addr-drv'], '-');
$drv = strtok('-');
break;
case 'c64':
$hex = strtok($_GET['c64-addr-drv'], '-');
$drv = strtok('-');
@ -20,10 +24,6 @@ case 'c128':
$hex = strtok($_GET['c128-addr-drv'], '-');
$drv = strtok('-');
break;
case 'atari':
$hex = strtok($_GET['atari-addr-drv'], '-');
$drv = strtok('-');
break;
}
$addr = hexdec($hex);