Commit b140bb60 authored by R.K.Garcia's avatar R.K.Garcia
Browse files

Fix block size for Error block to be 4-byte integer

Regenerate .gxx code to propagate into compiled library.
(cd include; python2.7 ../himawari/ahi_hsf.py --cxx)
In response to issue #30.
parent 7886503e
......@@ -248,7 +248,7 @@ OBSERVATION_TIME_V1P0 = [
ERROR_INFORMATION_BLOCK_V1P0 = [
('header_block_number', 'u1'), # ==10
('block_length', 'u2'), # == bytes, variable based on number of correction information data
('block_length', 'u4'), # == bytes, variable based on number of correction information data
('number_of_error_information_data', 'u2'),
# errors: followed by N * ERROR_INFORMATION
# followed by spare c40
......
......@@ -169,7 +169,7 @@ uint16_t number_of_error_pixels_per_line;
struct error_info {
uint8_t header_block_number;
uint16_t block_length;
uint32_t block_length;
uint16_t number_of_error_information_data;
error_entry errors[0];
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment