Skip to content

Commit

Permalink
Ham: few illustrations [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
lyusupov committed Nov 29, 2023
1 parent 60f910f commit dda3766
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 8 deletions.
Binary file added documents/images/ham-22.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added documents/images/ham-23.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion software/firmware/source/SkyWatch/GNSSHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1018,7 +1018,7 @@ static bool at65_setup()
#endif

if (SoC->id == SOC_NRF52 || SoC->id == SOC_ESP32S3 || SoC->id == SOC_PSOC4) {
/* Badge and Prime 3 with Quectel L76K or Mini with Luat Air530Z */
/* Badge, Prime 3 and Ham with Quectel L76K or Mini with Luat Air530Z */
Serial_GNSS_Out.write("$PCAS04,7*1E\r\n"); /* GPS + GLONASS + Beidou */
} else {
/* other AT6558 variants: 'fake' NEO, ... */
Expand Down
2 changes: 1 addition & 1 deletion software/firmware/source/SoftRF/src/driver/GNSS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1017,7 +1017,7 @@ static bool at65_setup()
#endif

if (SoC->id == SOC_NRF52 || SoC->id == SOC_ESP32S3 || SoC->id == SOC_PSOC4) {
/* Badge and Prime 3 with Quectel L76K or Mini with Luat Air530Z */
/* Badge, Prime 3 and Ham with Quectel L76K or Mini with Luat Air530Z */
Serial_GNSS_Out.write("$PCAS04,7*1E\r\n"); /* GPS + GLONASS + Beidou */
} else {
/* other AT6558 variants: 'fake' NEO, ... */
Expand Down
10 changes: 6 additions & 4 deletions software/firmware/source/SoftRF/src/platform/ESP32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3919,14 +3919,16 @@ void handleMainEvent(AceButton* button, uint8_t eventType,
controller.transmit();
#if !defined(EXCLUDE_VOICE_MESSAGE)
if (playback) {
delay(700);
char filename[MAX_FILENAME_LEN];
strcpy(filename, WAV_FILE_PREFIX);
strcat(filename, "message");
strcat(filename, WAV_FILE_SUFFIX);
play_file(filename);
I2S_Init((i2s_mode_t) (I2S_MODE_TX | I2S_MODE_PDM),
I2S_BITS_PER_SAMPLE_16BIT);
if (uSD.exists(filename)) {
delay(700);
play_file(filename);
I2S_Init((i2s_mode_t) (I2S_MODE_TX | I2S_MODE_PDM),
I2S_BITS_PER_SAMPLE_16BIT);
}
}
#endif /* EXCLUDE_VOICE_MESSAGE */
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -296,13 +296,13 @@ bool AudioOutputI2S::begin(bool txDAC)
#endif
.bck_io_num = I2S_PIN_NO_CHANGE,
.ws_io_num = I2S_PIN_NO_CHANGE,
.data_out_num = 17,
.data_out_num = doutPin,
.data_in_num = I2S_PIN_NO_CHANGE
};
i2s_set_pin((i2s_port_t)portNo, &pin_config);

//Select Gpio as Digital Gpio
rtc_gpio_deinit((gpio_num_t) 17);
rtc_gpio_deinit((gpio_num_t) doutPin);

// dac disable
// dac_output_disable(DAC_CHANNEL_1);
Expand Down

0 comments on commit dda3766

Please sign in to comment.