Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
gemu2015 committed Nov 3, 2023
1 parent d67253a commit 409e382
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
31 changes: 31 additions & 0 deletions tasmota/Plugins/plugins.S
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

#ifdef ESP8266

.section .text.mod_part
.align 4
.global j_mulsf3
.type j_mulsf3,@function
j_mulsf3:
addi sp, sp, -8
s32i.n a4, sp, 4
l32r a4, module_header+52
l32i a4, a4, 160 # table offset of mulsf3

# common part
s32i.n a0, sp, 0
callx0 a4
l32i.n a0, sp, 0
l32i.n a4, sp, 4
addi sp, sp, 8
ret.n


.section .text.mod_part
.align 4
.global gettbl
.type gettbl,@function
gettbl:
l32r a2, module_header+48
ret.n

#endif
2 changes: 1 addition & 1 deletion tasmota/Plugins/xsns_46_MLX90614.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ uint16_t MLX90614_read16(uint8_t addr, uint8_t a) {
//AddLog(LOG_LEVEL_INFO,PSTR("%x - %x"),pec, cpec);

if (pec != cpec) {
//jAddLog(LOG_LEVEL_INFO,PSTR("mlx checksum error"));
jAddLog(LOG_LEVEL_INFO,PSTR("mlx checksum error"));
}
return ret;
}
Expand Down

0 comments on commit 409e382

Please sign in to comment.