Update README.md

This commit is contained in:
Alex Spataru 2024-11-24 16:16:16 -05:00 committed by GitHub
parent 8057460f60
commit 8233d96bab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -58,7 +58,7 @@ Heres the custom JavaScript parser function used by this project:
* @param[in] frame The latest received frame as a hexadecimal string.
* @return Array of integers containing the parsed frame elements.
*/
function parse(frame, separator) {
function parse(frame) {
let dataArray = [];
for (let i = 0; i < frame.length; i += 2) {
let hexByte = frame.substring(i, i + 2);