Some beautification for the Contiki online configurator.
This commit is contained in:
parent
57d9c43a33
commit
73684b32c7
2 changed files with 35 additions and 38 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue