Fix LoadProfileRequest field label

This commit is contained in:
Tau
2019-04-10 16:55:07 -04:00
parent 04034fba45
commit fe6364ce85
2 changed files with 2 additions and 2 deletions

View File

@@ -9,6 +9,6 @@ export function loadProfile(buf: Buffer): LoadProfileRequest {
return {
type: "load_profile_req",
aimeId: buf.readUInt32LE(0x0004) as AimeId,
pcbId: buf.slice(0x0008, buf.indexOf("\0", 0x0008)).toString("ascii"),
luid: buf.slice(0x0008, buf.indexOf("\0", 0x0008)).toString("ascii"),
};
}

View File

@@ -3,5 +3,5 @@ import { AimeId } from "../model/base";
export interface LoadProfileRequest {
type: "load_profile_req";
aimeId: AimeId;
pcbId: string;
luid: string;
}