Skip to content

Commit

Permalink
Release V2.1R3
Browse files Browse the repository at this point in the history
DAC correction
esp-idf 3.3.5
See README.md for a patch of esp-idf 3.3.5.
  • Loading branch information
karawin committed Jan 11, 2022
1 parent 8e43419 commit bbfc792
Show file tree
Hide file tree
Showing 9 changed files with 439 additions and 439 deletions.
6 changes: 3 additions & 3 deletions components/audio_renderer/audio_renderer.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ static void init_i2s(renderer_config_t *config)
}

if ((config->output_mode == I2S)||(config->output_mode == I2S_MERUS)
|| (config->output_mode == SPDIF))
|| (config->output_mode == SPDIF) || (config->output_mode == DAC_BUILT_IN))
{
/* don't use audio pll on buggy rev0 chips */
// don't do it for PDM
Expand Down Expand Up @@ -158,12 +158,12 @@ static void init_i2s(renderer_config_t *config)
return;
}
ESP_LOGI(TAG,"i2s intr:%d", i2s_config.intr_alloc_flags);
if((mode & I2S_MODE_DAC_BUILT_IN))// || (mode & I2S_MODE_PDM))
/* if((mode & I2S_MODE_DAC_BUILT_IN))// || (mode & I2S_MODE_PDM))
{
i2s_set_pin(config->i2s_num, NULL);
i2s_set_dac_mode(I2S_DAC_CHANNEL_BOTH_EN);
}
else {
else*/ {
if ((lrck!=255) && (bclk!=255) && (i2sdata!=255))
i2s_set_pin(config->i2s_num, &pin_config);
}
Expand Down
2 changes: 1 addition & 1 deletion main/include/interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


#define RELEASE "2.1"
#define REVISION "2"
#define REVISION "3"

uint32_t checkUart(uint32_t speed);
extern unsigned short adcdiv;
Expand Down
2 changes: 1 addition & 1 deletion webpage/favicon
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const char favicon_png[] = {
0x1f, 0x8b, 0x08, 0x08, 0x97, 0x36, 0x4d, 0x60, 0x00, 0x03, 0x66, 0x61,
0x1f, 0x8b, 0x08, 0x08, 0x88, 0x38, 0x4d, 0x60, 0x00, 0x03, 0x66, 0x61,
0x76, 0x69, 0x63, 0x6f, 0x6e, 0x2e, 0x70, 0x6e, 0x67, 0x00, 0x01, 0xd0,
0x02, 0x2f, 0xfd, 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00,
0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x10, 0x00,
Expand Down
858 changes: 429 additions & 429 deletions webpage/index

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion webpage/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ <h1>Edit station</h1>
<div class="LEFT"><img title="Click on the logo to change the theme" onClick= "theme()" src="logo.png"></div>
<div class="RIGHT">
<a href="https://github.com/karawin/Ka-Radio32" target="_blank">KaraDio32</a><br/>
<a href="https://github.com/karawin/Ka-Radio32" target="_blank">V2.1 R2</a><br/>
<a href="https://github.com/karawin/Ka-Radio32" target="_blank">V2.1 R3</a><br/>
<div id="rssi" >0 dBm</div><br/>
<!-- <a href="https://github.com/PiotrSperka/ESP8266-WebRadio" style="font-size:8px" target="_blank">From PiotrSperka</a> -->
</div>
Expand Down
2 changes: 1 addition & 1 deletion webpage/logo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const char logo_png[] = {
0x1f, 0x8b, 0x08, 0x08, 0x96, 0x36, 0x4d, 0x60, 0x00, 0x03, 0x6c, 0x6f,
0x1f, 0x8b, 0x08, 0x08, 0x88, 0x38, 0x4d, 0x60, 0x00, 0x03, 0x6c, 0x6f,
0x67, 0x6f, 0x2e, 0x70, 0x6e, 0x67, 0x00, 0x01, 0x61, 0x0c, 0x9e, 0xf3,
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d,
0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x3c, 0x00, 0x00, 0x00, 0x33,
Expand Down
2 changes: 1 addition & 1 deletion webpage/script
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const char script_js[] = {
0x1f, 0x8b, 0x08, 0x08, 0x92, 0x36, 0x4d, 0x60, 0x00, 0x03, 0x73, 0x63,
0x1f, 0x8b, 0x08, 0x08, 0x84, 0x38, 0x4d, 0x60, 0x00, 0x03, 0x73, 0x63,
0x72, 0x69, 0x70, 0x74, 0x2e, 0x6a, 0x73, 0x00, 0xec, 0x3d, 0x6b, 0x93,
0xdb, 0x36, 0x92, 0x9f, 0x95, 0x2a, 0xff, 0x07, 0x98, 0xe7, 0xb3, 0x28,
0xeb, 0x2d, 0x7b, 0x7c, 0x39, 0x8f, 0x27, 0xa9, 0xd8, 0x71, 0xce, 0xbe,
Expand Down
2 changes: 1 addition & 1 deletion webpage/style
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const char style_css[] = {
0x1f, 0x8b, 0x08, 0x08, 0x81, 0x38, 0x4d, 0x60, 0x00, 0x03, 0x73, 0x74,
0x1f, 0x8b, 0x08, 0x08, 0x7b, 0xe5, 0xdd, 0x61, 0x00, 0x03, 0x73, 0x74,
0x79, 0x6c, 0x65, 0x2e, 0x6d, 0x69, 0x6e, 0x2e, 0x63, 0x73, 0x73, 0x00,
0xed, 0x5a, 0x6d, 0x6f, 0xdb, 0x36, 0x10, 0xfe, 0x2b, 0x5c, 0x8c, 0x00,
0x35, 0x66, 0xb9, 0x94, 0x6c, 0x27, 0xb2, 0x84, 0x02, 0x2d, 0xb6, 0x6c,
Expand Down
2 changes: 1 addition & 1 deletion webpage/style1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const char style1_css[] = {
0x1f, 0x8b, 0x08, 0x08, 0x83, 0x38, 0x4d, 0x60, 0x00, 0x03, 0x73, 0x74,
0x1f, 0x8b, 0x08, 0x08, 0x7e, 0xe5, 0xdd, 0x61, 0x00, 0x03, 0x73, 0x74,
0x79, 0x6c, 0x65, 0x31, 0x2e, 0x6d, 0x69, 0x6e, 0x2e, 0x63, 0x73, 0x73,
0x00, 0xed, 0x5a, 0xeb, 0x6f, 0xdb, 0x36, 0x10, 0xff, 0x57, 0xb4, 0x18,
0x01, 0x12, 0xcc, 0x72, 0x29, 0x59, 0x76, 0x64, 0x09, 0x05, 0xea, 0x76,
Expand Down

0 comments on commit bbfc792

Please sign in to comment.