Skip to content
Closed
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ public class RadioAudioService extends Service {

private static final float UHF_MIN_FREQ = 400.0f; // DRA818U lower limit, in MHz
private static float min70cmTxFreq = 420.0f; // US 70cm band lower limit, in MHz (will be overwritten by user setting)
private static float max70cmTxFreq = 450.0f; // US 70cm band upper limit, in MHz (will be overwritten by user setting)
private static final float UHF_MAX_FREQ = 470.0f; // DRA818U upper limit, in MHz
private static float max70cmTxFreq = 480.0f; // US 70cm band upper limit, in MHz (will be overwritten by user setting)
private static final float UHF_MAX_FREQ = 480.0f; // DRA818U upper limit, in MHz

private String activeFrequencyStr = null;
private int squelch = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ private void populateMaxFrequencies() {
List<String> max70cmFreqs = new ArrayList<String>();
max70cmFreqs.add("450MHz");
max70cmFreqs.add("440MHz");
max70cmFreqs.add("480MHz");

ArrayAdapter arrayAdapter2 = new ArrayAdapter(this, R.layout.dropdown_item, max70cmFreqs);
max70cmFreqTextView.setAdapter(arrayAdapter2);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -309,9 +309,9 @@ void loop() {
paramBytesMissing--;
}
if (paramsStr.charAt(0) == 'v') {
dra = new DRA818(&Serial2, DRA818_VHF);
dra = new DRA818(&Serial2, SA818_VHF);
} else if (paramsStr.charAt(0) == 'u') {
dra = new DRA818(&Serial2, DRA818_UHF);
dra = new DRA818(&Serial2, SA818_UHF);
} else {
// Unexpected.
}
Expand Down
2 changes: 1 addition & 1 deletion microcontroller-src/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ build_flags =
-DARDUINO_EVENT_RUNNING_CORE=0
lib_deps =
; fatpat/DRA818@^1.0.1
https://github.com/fatpat/arduino-dra818.git#v1.0.1 ; v1.0.1 is the latest release, but has not been pushed to registry. Update later
https://github.com/fatpat/arduino-dra818.git
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to upgrade to the latest.

plerup/EspSoftwareSerial@^8.2.0
Loading