1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-05-18 15:24:09 +00:00
This commit is contained in:
Carles Fernandez 2019-07-14 14:49:09 +02:00
commit a847a9f982
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -31,7 +31,6 @@
#include "unpack_2bit_samples.h" #include "unpack_2bit_samples.h"
#include <gnuradio/io_signature.h> #include <gnuradio/io_signature.h>
#include <array>
struct byte_2bit_struct struct byte_2bit_struct
{ {
@ -54,7 +53,7 @@ bool systemIsBigEndian()
union union
{ {
uint32_t i; uint32_t i;
std::array<char, 4> c{}; char c[4];
} test_int = {0x01020304}; } test_int = {0x01020304};
return test_int.c[0] == 1; return test_int.c[0] == 1;