mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-28 21:26:33 +00:00
Merge branch 'development' into prerelease-13.4
This commit is contained in:
commit
99e44a10af
@ -156,8 +156,8 @@ typedef uint8_t FontFlags;
|
||||
// 1MHz. TODO: Figure out actual speed to use
|
||||
// Data sheet section 5.2 says maximum SPI clock is 50MHz.
|
||||
//#define RA8876_SPI_SPEED 10000000
|
||||
//#define RA8876_SPI_SPEED 25000000
|
||||
#define RA8876_SPI_SPEED 40000000
|
||||
#define RA8876_SPI_SPEED 25000000
|
||||
//#define RA8876_SPI_SPEED 40000000
|
||||
#endif
|
||||
|
||||
// With SPI, the RA8876 expects an initial byte where the top two bits are meaningful. Bit 7
|
||||
|
@ -437,6 +437,7 @@ void TM1621Show(void) {
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef USE_ENERGY_SENSOR
|
||||
if (TM1621_POWR316D == Tm1621.device) {
|
||||
if (0 == Tm1621.display_rotate) {
|
||||
ext_snprintf_P(Tm1621.row[0], sizeof(Tm1621.row[0]), PSTR("%1_f"), &Energy->voltage[0]);
|
||||
@ -452,6 +453,7 @@ void TM1621Show(void) {
|
||||
TM1621SendRows();
|
||||
return;
|
||||
}
|
||||
#endif // USE_ENERGY_SENSOR
|
||||
|
||||
if (TM1621_THR316D == Tm1621.device) {
|
||||
if (!isnan(TasmotaGlobal.temperature_celsius)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user