Skip to content

Commit

Permalink
add new resolution for 250x122 pixel displays
Browse files Browse the repository at this point in the history
  • Loading branch information
outdoorbits committed Oct 18, 2024
1 parent 7e9ca06 commit bcec1ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ function upload_settings() {
<label for="conf_DISP_FRAME_TIME"><?php echo L::config_display_frame_time_label; ?></label><br>
<select name="conf_DISP_FRAME_TIME" id="conf_DISP_FRAME_TIME">
<?php
$display_frame_times_array=array('0.1', '0.25', '0.5', '1', '2', '3');
$display_frame_times_array=array('0.1', '0.25', '0.5', '1', '1.5', '2', '2.5', '3');
foreach($display_frame_times_array as $display_frame_time) {
echo "<option value='" . $display_frame_time . "' " . ($config["conf_DISP_FRAME_TIME"] == $display_frame_time?" selected":"") . ">" . $display_frame_time . "</option>";
}
Expand Down Expand Up @@ -1311,7 +1311,7 @@ function upload_settings() {
<label for="conf_DISP_RESOLUTION_X"><?php echo L::config_display_resolution_x_label; ?></label><br>
<select name="conf_DISP_RESOLUTION_X" id="conf_DISP_RESOLUTION_X">
<?php
$display_resolutions_array=array(96, 128);
$display_resolutions_array=array(96, 128, 250);
foreach($display_resolutions_array as $display_resolution) {
echo "<option value='" . $display_resolution . "' " . ($config["conf_DISP_RESOLUTION_X"] == $display_resolution?" selected":"") . ">" . $display_resolution . "</option>";
}
Expand All @@ -1323,7 +1323,7 @@ function upload_settings() {
<label for="conf_DISP_RESOLUTION_Y"><?php echo L::config_display_resolution_y_label; ?></label><br>
<select name="conf_DISP_RESOLUTION_Y" id="conf_DISP_RESOLUTION_Y">
<?php
$display_resolutions_array=array(32, 64, 128);
$display_resolutions_array=array(32, 64, 122, 128);
foreach($display_resolutions_array as $display_resolution) {
echo "<option value='" . $display_resolution . "' " . ($config["conf_DISP_RESOLUTION_Y"] == $display_resolution?" selected":"") . ">" . $display_resolution . "</option>";
}
Expand Down

0 comments on commit bcec1ed

Please sign in to comment.