working HSDPA impl with driver -- this time

This commit is contained in:
minjaesong
2025-08-17 03:19:09 +09:00
parent 1d3d3bd246
commit b6b61dbe8f
5 changed files with 61 additions and 56 deletions

View File

@@ -131,9 +131,11 @@ for (let tapeIndex = 0; tapeIndex < 4; tapeIndex++) {
try {
// If offset specified, rewind and skip to position
if (offset && offset > 0) {
if (offset !== undefined && offset >= 0) {
hsdpa.rewind()
hsdpa.skip(offset)
if (offset > 0) {
hsdpa.skip(offset)
}
}
// Read data to VM memory