cereal: deprecate FrameData.frameType (#33019)
deprecate FrameData.frameType
old-commit-hash: 917ea5699f
This commit is contained in:
parent
4efe8d8118
commit
cc3f9090bf
|
@ -137,8 +137,6 @@ struct FrameData {
|
|||
requestId @28 :UInt32;
|
||||
encodeId @1 :UInt32;
|
||||
|
||||
frameType @7 :FrameType;
|
||||
|
||||
# Timestamps
|
||||
timestampEof @2 :UInt64;
|
||||
timestampSof @8 :UInt64;
|
||||
|
@ -158,7 +156,7 @@ struct FrameData {
|
|||
|
||||
temperaturesC @24 :List(Float32);
|
||||
|
||||
enum FrameType {
|
||||
enum FrameTypeDEPRECATED {
|
||||
unknown @0;
|
||||
neo @1;
|
||||
chffrAndroid @2;
|
||||
|
@ -175,6 +173,7 @@ struct FrameData {
|
|||
|
||||
frameLengthDEPRECATED @3 :Int32;
|
||||
globalGainDEPRECATED @5 :Int32;
|
||||
frameTypeDEPRECATED @7 :FrameTypeDEPRECATED;
|
||||
androidCaptureResultDEPRECATED @9 :AndroidCaptureResult;
|
||||
lensPosDEPRECATED @11 :Int32;
|
||||
lensSagDEPRECATED @12 :Float32;
|
||||
|
|
|
@ -932,7 +932,6 @@ static void process_driver_camera(MultiCameraState *s, CameraState *c, int cnt)
|
|||
|
||||
MessageBuilder msg;
|
||||
auto framed = msg.initEvent().initDriverCameraState();
|
||||
framed.setFrameType(cereal::FrameData::FrameType::FRONT);
|
||||
fill_frame_data(framed, c->buf.cur_frame_data, c);
|
||||
|
||||
c->ci->processRegisters(c, framed);
|
||||
|
|
Loading…
Reference in New Issue