Skip to content

Commit

Permalink
Merge pull request #517 from visualapproach/development_v4
Browse files Browse the repository at this point in the history
Development v4
  • Loading branch information
visualapproach authored May 19, 2023
2 parents 22e7ec1 + 677fcfe commit f9bc945
Show file tree
Hide file tree
Showing 24 changed files with 290 additions and 255 deletions.
16 changes: 8 additions & 8 deletions Code/data/hwconfig.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ <h2>Hardware:</h2>
<tr>
<td>DSP</td>
<td>
data/td/rx<input type="text" id="pin4" maxlength="2" style="width:30px">
clk/tx<input type="text" id="pin5" maxlength="2" style="width:30px">
data/td/tx<input type="text" id="pin4" maxlength="2" style="width:30px">
clk/rx<input type="text" id="pin5" maxlength="2" style="width:30px">
cs/ld<input type="text" id="pin6" maxlength="2" style="width:30px">
audio<input type="text" id="pin7" maxlength="2" style="width:30px">
</td>
Expand Down Expand Up @@ -174,8 +174,8 @@ <h2>Hardware:</h2>
}
if(dsp == 4 || dsp == 5 || dsp == 6 || dsp == 7 || dsp == 8)
{
p4 = 7;
p5 = 6;
p4 = 6;
p5 = 7;
p6 = null;
p7 = null;
}
Expand All @@ -202,8 +202,8 @@ <h2>Hardware:</h2>
}
if(dsp == 4 || dsp == 5 || dsp == 6 || dsp == 7 || dsp == 8)
{
p4 = 5;
p5 = 4;
p4 = 4;
p5 = 5;
p6 = null;
p7 = null;
}
Expand All @@ -230,8 +230,8 @@ <h2>Hardware:</h2>
}
if(dsp == 4 || dsp == 5 || dsp == 6 || dsp == 7 || dsp == 8)
{
p4 = 3;
p5 = 4;
p4 = 4;
p5 = 3;
p6 = null;
p7 = null;
}
Expand Down
Binary file modified Code/datazip/chkupdatefw.html.gz
Binary file not shown.
Binary file modified Code/datazip/config.html.gz
Binary file not shown.
Binary file modified Code/datazip/favicon.ico.gz
Binary file not shown.
Binary file modified Code/datazip/function.js.gz
Binary file not shown.
Binary file modified Code/datazip/hwconfig.html.gz
Binary file not shown.
Binary file modified Code/datazip/hwtestinfo.html.gz
Binary file not shown.
Binary file modified Code/datazip/index.html.gz
Binary file not shown.
Binary file modified Code/datazip/index.js.gz
Binary file not shown.
Binary file modified Code/datazip/main.css.gz
Binary file not shown.
Binary file modified Code/datazip/mqtt.html.gz
Binary file not shown.
Binary file modified Code/datazip/remove.html.gz
Binary file not shown.
Binary file modified Code/datazip/success.html.gz
Binary file not shown.
Binary file modified Code/datazip/upload.html.gz
Binary file not shown.
Binary file modified Code/datazip/webconfig.html.gz
Binary file not shown.
Binary file modified Code/datazip/wifi.html.gz
Binary file not shown.
Binary file modified Code/fw/firmware.bin
Binary file not shown.
2 changes: 1 addition & 1 deletion Code/fw/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2023-05-13-1551
2023-05-19-1021
2 changes: 1 addition & 1 deletion Code/lib/BWC_unified/bwc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ String BWC::getJSONStates() {
doc[F("HJT")] = cio->cio_states.jets;
doc[F("BRT")] = dsp->dsp_states.brightness;
doc[F("ERR")] = cio->cio_states.error;
doc[F("GOD")] = cio->cio_states.godmode;
doc[F("GOD")] = (uint8_t)cio->cio_states.godmode;
doc[F("TGT")] = cio->cio_states.target;
doc[F("TMP")] = cio->cio_states.temperature;
doc[F("VTMC")] = _virtual_temp;
Expand Down
2 changes: 1 addition & 1 deletion Code/lib/dsp/DSP_4W.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "DSP_4W.h"
#include "util.h"

void DSP_4W::setup(int dsp_rx, int dsp_tx, int dummy, int dummy2)
void DSP_4W::setup(int dsp_tx, int dsp_rx, int dummy, int dummy2)
{
_dsp_serial.begin(9600, SWSERIAL_8N1, dsp_tx, dsp_rx, false, 63);
_dsp_serial.setTimeout(20);
Expand Down
2 changes: 1 addition & 1 deletion Code/lib/dsp/DSP_4W.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class DSP_4W : public DSP
public:
DSP_4W(){};
virtual ~DSP_4W(){};
void setup(int dsp_rx, int dsp_tx, int dummy, int dummy2);
void setup(int dsp_tx, int dsp_rx, int dummy, int dummy2);
void stop();
void pause_resume(bool action) override;
void updateToggles();
Expand Down
2 changes: 1 addition & 1 deletion Code/src/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <WiFi.h>
#endif
#define DEVICE_NAME "layzspa"
#define FW_VERSION "2023-05-13-1551"
#define FW_VERSION "2023-05-19-1021"

#define HA_PREFIX "homeassistant"
#define PROM_NAMESPACE "layzspa"
Expand Down
Loading

0 comments on commit f9bc945

Please sign in to comment.