From dc27dd2f228360b295ba6c033fffe0ed87f418ef Mon Sep 17 00:00:00 2001 From: Marcus10110 Date: Wed, 17 Jun 2020 10:36:12 -0700 Subject: [PATCH] renamed rom to id, based on 1-wire docs. --- src/OneWireAnalyzer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OneWireAnalyzer.cpp b/src/OneWireAnalyzer.cpp index 329df20..cf6b1c1 100644 --- a/src/OneWireAnalyzer.cpp +++ b/src/OneWireAnalyzer.cpp @@ -744,8 +744,8 @@ void OneWireAnalyzer::RecordFrame( U64 starting_sample, U64 ending_sample, OneWi frame_v2.AddByte( "family", static_cast( frame.mData1 ) ); break; case Rom: - frame_v2_type = "rom"; - frame_v2.AddInteger( "rom", frame.mData1 ); + frame_v2_type = "id"; + frame_v2.AddInteger( "id", frame.mData1 ); break; case Byte: frame_v2_type = "data";