summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <ikj1234i@yahoo.com>2021-11-13 16:58:19 -0500
committerMax <ikj1234i@yahoo.com>2021-11-13 16:58:19 -0500
commitc06a31822213a2c6fcce4421f92b349ef4786a28 (patch)
treeb99517021c5c2ebe060ac0806be0d3a4e07f001b
parentf14bf6deb8d1e8de5fe98022ed5ac7f63a5e4160 (diff)
store_i fix return type
-rw-r--r--op25/gr-op25_repeater/lib/dmr_bs_tx_bb_impl.cc2
-rw-r--r--op25/gr-op25_repeater/lib/nxdn_tx_sb_impl.cc2
-rw-r--r--op25/gr-op25_repeater/lib/ysf_tx_sb_impl.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/op25/gr-op25_repeater/lib/dmr_bs_tx_bb_impl.cc b/op25/gr-op25_repeater/lib/dmr_bs_tx_bb_impl.cc
index 56e9612..52972a4 100644
--- a/op25/gr-op25_repeater/lib/dmr_bs_tx_bb_impl.cc
+++ b/op25/gr-op25_repeater/lib/dmr_bs_tx_bb_impl.cc
@@ -80,7 +80,7 @@ static bool crc8_ok(const uint8_t bits[], unsigned int len) {
return (crc == crc8(bits,len));
}
-static inline int store_i(int reg, uint8_t val[], int len) {
+static inline void store_i(int reg, uint8_t val[], int len) {
for (int i=0; i<len; i++){
val[i] = (reg >> (len-1-i)) & 1;
}
diff --git a/op25/gr-op25_repeater/lib/nxdn_tx_sb_impl.cc b/op25/gr-op25_repeater/lib/nxdn_tx_sb_impl.cc
index be2aed8..2f89c8d 100644
--- a/op25/gr-op25_repeater/lib/nxdn_tx_sb_impl.cc
+++ b/op25/gr-op25_repeater/lib/nxdn_tx_sb_impl.cc
@@ -55,7 +55,7 @@ static inline void print_result(char title[], const uint8_t r[], int len) {
}
#endif
-static inline int store_i(int reg, uint8_t val[], int len) {
+static inline void store_i(int reg, uint8_t val[], int len) {
for (int i=0; i<len; i++){
val[i] = (reg >> (len-1-i)) & 1;
}
diff --git a/op25/gr-op25_repeater/lib/ysf_tx_sb_impl.cc b/op25/gr-op25_repeater/lib/ysf_tx_sb_impl.cc
index 7b7274e..92b9772 100644
--- a/op25/gr-op25_repeater/lib/ysf_tx_sb_impl.cc
+++ b/op25/gr-op25_repeater/lib/ysf_tx_sb_impl.cc
@@ -52,7 +52,7 @@ static inline void print_result(char title[], const uint8_t r[], int len) {
}
#endif
-static inline int store_i(int reg, uint8_t val[], int len) {
+static inline void store_i(int reg, uint8_t val[], int len) {
for (int i=0; i<len; i++){
val[i] = (reg >> (len-1-i)) & 1;
}