Skip to content
Snippets Groups Projects
Commit b8829a8f authored by Dominik Loidolt's avatar Dominik Loidolt
Browse files

Change subservice for SST_FCx_S_BACKGROUND_VALUES form 3 to 25 TBC!

parent 6187310c
Branches
Tags
1 merge request!26Adapt cmp_tool to the chunk decompression
...@@ -405,11 +405,8 @@ enum cmp_data_type convert_subservice_to_cmp_data_type(uint8_t subservice) ...@@ -405,11 +405,8 @@ enum cmp_data_type convert_subservice_to_cmp_data_type(uint8_t subservice)
return DATA_TYPE_F_CAM_IMAGETTE; return DATA_TYPE_F_CAM_IMAGETTE;
case SST_FCx_S_SCIENCE_OFFSET_VALUES: case SST_FCx_S_SCIENCE_OFFSET_VALUES:
return DATA_TYPE_F_CAM_OFFSET; return DATA_TYPE_F_CAM_OFFSET;
/* TODO: SST_FCx_S_BACKGROUND_VALUES and SST_NCxx_S_SCIENCE_IMAGETTE has case SST_FCx_S_BACKGROUND_VALUES:
* the same subservice number*/ return DATA_TYPE_F_CAM_BACKGROUND;
/* case SST_FCx_S_BACKGROUND_VALUES: */
/* return DATA_TYPE_F_CAM_BACKGROUND; */
/* break; */
default: default:
return DATA_TYPE_UNKNOWN; return DATA_TYPE_UNKNOWN;
}; };
......
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
/* subservice types for service 228 */ /* subservice types for service 228 */
#define SST_FCx_S_SCIENCE_IMAGETTE 1 /* Imagettes from F-camera. */ #define SST_FCx_S_SCIENCE_IMAGETTE 1 /* Imagettes from F-camera. */
#define SST_FCx_S_SCIENCE_OFFSET_VALUES 2 /* Offset values Mean of the pixels of offset windows */ #define SST_FCx_S_SCIENCE_OFFSET_VALUES 2 /* Offset values Mean of the pixels of offset windows */
#define SST_FCx_S_BACKGROUND_VALUES 3 /* Background values. Mean of the pixels of background windows */ #define SST_FCx_S_BACKGROUND_VALUES 25 /* TBC: Background values. Mean of the pixels of background windows */
/* size of a collection (multi entry) header */ /* size of a collection (multi entry) header */
#define COLLECTION_HDR_SIZE 12 #define COLLECTION_HDR_SIZE 12
......
...@@ -2479,6 +2479,11 @@ static enum chunk_type get_chunk_type(uint16_t subservice) ...@@ -2479,6 +2479,11 @@ static enum chunk_type get_chunk_type(uint16_t subservice)
case SST_NCxx_S_SCIENCE_L_FX_EFX_NCOB_ECOB: case SST_NCxx_S_SCIENCE_L_FX_EFX_NCOB_ECOB:
chunk_type = CHUNK_TYPE_LONG_CADENCE; chunk_type = CHUNK_TYPE_LONG_CADENCE;
break; break;
case SST_FCx_S_SCIENCE_IMAGETTE:
case SST_FCx_S_SCIENCE_OFFSET_VALUES:
case SST_FCx_S_BACKGROUND_VALUES:
chunk_type = CHUNK_TYPE_F_CHAIN;
break;
case SST_NCxx_S_SCIENCE_F_FX: case SST_NCxx_S_SCIENCE_F_FX:
case SST_NCxx_S_SCIENCE_F_FX_EFX: case SST_NCxx_S_SCIENCE_F_FX_EFX:
case SST_NCxx_S_SCIENCE_F_FX_NCOB: case SST_NCxx_S_SCIENCE_F_FX_NCOB:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment