Skip to content

Commit

Permalink
fixing issue1356
Browse files Browse the repository at this point in the history
  • Loading branch information
paulr34 committed Jul 31, 2024
1 parent af33f57 commit 8f75c63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src-electron/generator/helper-endpointconfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -836,9 +836,9 @@ async function collectAttributes(db, sessionId, endpointTypes, options) {
// We don't want to make longTypeDefaultValue know about our null
// string representation.
if (types.isOneBytePrefixedString(a.type)) {
def = ['0xFF']
def = '0xFF,'
} else if (types.isTwoBytePrefixedString(a.type)) {
def = ['0xFF', '0xFF']
def = '0xFF, 0xFF,'
} else {
throw new Error(`Unknown string type: ${type}`)
}
Expand Down

0 comments on commit 8f75c63

Please sign in to comment.