Adaptation of the implementation of read function to that currently used in master branch

This commit is contained in:
tharexde
2020-10-27 19:16:54 +01:00
parent ce5181bdc9
commit 140037d9f0
4 changed files with 19 additions and 47 deletions

View File

@@ -1171,7 +1171,7 @@ static int l_em4x50_read(lua_State *L) {
em4x50_word_t words[EM4X50_NO_WORDS];
int res = em4x50_read(&etd, words, false);
int res = em4x50_read(&etd, words);
if (res != PM3_SUCCESS) {
return returnToLuaWithError(L, "Failed to read EM4x50 data");
}