Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
0.6.10
Browse files Browse the repository at this point in the history
 - Fix OneWire reading on Omilex
   #19 (comment)

0.6.9

- Olizig POE support
  • Loading branch information
xyzroe committed Nov 18, 2022
1 parent ba8c0f9 commit fd1efcc
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
.vscode
.gcc-flags.json
.clang_complete
#bin
bin/ZigStarGW_*
commit
TASK-LIST.md
Binary file modified bin/ZigStarGW.bin
Binary file not shown.
Binary file removed bin/ZigStarGW_v0.6.9.full.bin
Binary file not shown.
4 changes: 2 additions & 2 deletions src/Version.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@

// AUTO GENERATED FILE, DO NOT EDIT
#ifndef VERSION
#define VERSION "0.6.9"
#define VERSION "0.6.10"
#endif
#ifndef BUILD_TIMESTAMP
#define BUILD_TIMESTAMP "2022-09-08 12:09:01.835139"
#define BUILD_TIMESTAMP "2022-11-18 22:52:29.540593"
#endif

8 changes: 3 additions & 5 deletions src/etc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,13 @@ extern struct ConfigSettingsStruct ConfigSettings;

void oneWireBegin()
{
if (ConfigSettings.board == 2) {
sensor.begin();
DEBUG_PRINTLN(F("oneWire begin OK"));
}
sensor.begin();
DEBUG_PRINTLN(F("oneWire begin OK"));
}

float oneWireRead()
{
if (ConfigSettings.board == 2) {
if (ConfigSettings.board == 2 || ConfigSettings.board == 4) { //ttgo or omilex
sensor.requestTemperatures();
float tempC = sensor.getTempC();
DEBUG_PRINTLN(tempC);
Expand Down
2 changes: 2 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,8 @@ void setupEthernetAndZigbeeSerial()
DEBUG_PRINT(F("Zigbee serial setup @ "));
DEBUG_PRINTLN(ConfigSettings.serialSpeed);
Serial2.begin(ConfigSettings.serialSpeed, SERIAL_8N1, ZRXD_4, ZTXD_4);

oneWireBegin();
}
else
{
Expand Down
2 changes: 1 addition & 1 deletion tools/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.6.9
0.6.10

0 comments on commit fd1efcc

Please sign in to comment.