GPL info in about window, display update after key press

This commit is contained in:
Hans P. Reiser 2019-04-23 14:46:52 +02:00
parent fe8003c526
commit 9264ec3b3b
6 changed files with 22 additions and 18 deletions

View File

@ -608,6 +608,8 @@ void loopDecoder() {
switch(getKeyPress()) { switch(getKeyPress()) {
case KP_SHORT: case KP_SHORT:
sonde.nextConfig(); sonde.nextConfig();
sonde.updateDisplayRXConfig();
sonde.updateDisplay();
break; break;
case KP_DOUBLE: case KP_DOUBLE:
enterMode(ST_SCANNER); enterMode(ST_SCANNER);

View File

@ -7,8 +7,8 @@ led_pin=25
# OLED Setup is depending on hardware of LoRa board # OLED Setup is depending on hardware of LoRa board
# TTGO v1: SDA=4 SCL=15, RST=16 # TTGO v1: SDA=4 SCL=15, RST=16
# TTGO v2: SDA=21 SCL=22, RST=16 # TTGO v2: SDA=21 SCL=22, RST=16
oled_sda=21 oled_sda=4
oled_scl=22 oled_scl=15
oled_rst=16 oled_rst=16
#-------------------------------# #-------------------------------#
# General config settings # General config settings
@ -35,7 +35,7 @@ passcode=12345
# axudp for sending to aprsmap # axudp for sending to aprsmap
#-------------------------------# #-------------------------------#
# local use only, do not feed to public services # local use only, do not feed to public services
# data not sanities / quality checked, outliers not filtered out # data not sanitized / quality checked, outliers not filtered out
axudp.active=1 axudp.active=1
axudp.host=192.168.42.20 axudp.host=192.168.42.20
axudp.port=9002 axudp.port=9002

View File

@ -50,12 +50,17 @@
<div id="About" class="tabcontent"> <div id="About" class="tabcontent">
<h3>About</h3> <h3>About</h3>
RDZSonde - OpenSource<br> RDZSonde<br>
Copyright &copy; 2019<br> Copyright &copy; 2019 by Hansi Reiser, DL9RDZ<br>
by Hans P. Reiser, DL9RDZ<br>
(devel-version 2019-04-23)<br> (devel-version 2019-04-23)<br>
-------------------------------<br>
with mods by Meinhard Guenther, DL2MF<br> with mods by Meinhard Guenther, DL2MF<br>
<br>
This program is free software; you can redistribute it and/or<br>
modify it under the terms of the GNU General Public License as<br>
published by the Free Software Foundation; either version 2 of<br>
the License, or (at your option) any later version.<br>
see <a href="https://www.gnu.org/licenses/gpl-2.0.txt">https://www.gnu.org/licenses/gpl-2.0.txt</a>
for details
</div> </div>
<script> <script>

View File

@ -1,4 +1,4 @@
AUTORX RDZsonde
12345678 RDZsonde
SONDERX DinoGast
radiosonde Schokolade

View File

@ -1,7 +1,7 @@
# Frequency in Mhz (format nnn.nnn) # Frequency in Mhz (format nnn.nnn)
# Type (4=RS41, 6=DFM normal, DFM-06, 9=DFM inverted, DFM-09) # Type (4=RS41, 6=DFM normal, DFM-06, 9=DFM inverted, DFM-09)
# #
402.300 4 - Greifswald 402.300 4 + Greifswald
402.500 4 - Schleswig 402.500 4 - Schleswig
402.700 4 + HH-Sasel 402.700 4 + HH-Sasel
403.000 4 - DeBilt 403.000 4 - DeBilt

View File

@ -188,7 +188,7 @@ void Sonde::addSonde(float frequency, SondeType type, int active, char *launchsi
} }
void Sonde::nextConfig() { void Sonde::nextConfig() {
currentSonde++; currentSonde++;
// Skip non-active entries (but don't loop forever if there are no active ones // Skip non-active entries (but don't loop forever if there are no active ones)
for(int i=0; i<config.maxsonde; i++) { for(int i=0; i<config.maxsonde; i++) {
if(!sondeList[currentSonde].active) { if(!sondeList[currentSonde].active) {
currentSonde++; currentSonde++;
@ -220,9 +220,6 @@ void Sonde::setup() {
dfm.setFrequency(sondeList[currentSonde].freq * 1000000); dfm.setFrequency(sondeList[currentSonde].freq * 1000000);
break; break;
} }
// Update display
//updateDisplayRXConfig();
//updateDisplay();
} }
int Sonde::receiveFrame() { int Sonde::receiveFrame() {
int ret; int ret;