[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 02/10: dtv: switch to hex format for number
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 02/10: dtv: switch to hex format for number constants |
Date: |
Mon, 13 Feb 2017 00:34:49 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch maint
in repository gnuradio.
commit 1643272f933bf206bf3bef815bf21426f27dffcb
Author: Josh Blum <address@hidden>
Date: Fri Jan 20 09:51:13 2017 -0800
dtv: switch to hex format for number constants
Binary constants compile on MSVC 2015 and up.
---
gr-dtv/lib/catv/catv_trellis_enc_bb_impl.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gr-dtv/lib/catv/catv_trellis_enc_bb_impl.cc
b/gr-dtv/lib/catv/catv_trellis_enc_bb_impl.cc
index 8fdb872..66aff00 100644
--- a/gr-dtv/lib/catv/catv_trellis_enc_bb_impl.cc
+++ b/gr-dtv/lib/catv/catv_trellis_enc_bb_impl.cc
@@ -89,8 +89,8 @@ namespace gr {
for (Z = 0; Z < 16; Z++) {
X = 0;
Y = 0;
- Xp = (XYp & 0b10) >> 1;
- Yp = (XYp & 0b01);
+ Xp = (XYp & 0x02) >> 1;
+ Yp = (XYp & 0x01);
for (i = 0; i < 4; i++) {
diff_precoder((W >> i) & 1, (Z >> i) & 1, &Xp, &Yp);
X |= (Xp << i);
- [Commit-gnuradio] [gnuradio] branch maint updated (884eddf -> b49da16), git, 2017/02/12
- [Commit-gnuradio] [gnuradio] 07/10: analog: add missing probe_avg_mag_sqrd_cf block to GRC definition, git, 2017/02/12
- [Commit-gnuradio] [gnuradio] 08/10: analog: simplify probe_avg_mag_sqrd_x block GRC file, git, 2017/02/12
- [Commit-gnuradio] [gnuradio] 09/10: Merge remote-tracking branch 'nowls/add_probe_av_mag2_cf_grc_def' into maint, git, 2017/02/12
- [Commit-gnuradio] [gnuradio] 04/10: runtime: missing API export for block stream operator, git, 2017/02/12
- [Commit-gnuradio] [gnuradio] 06/10: grc: evaluate cheetah template to resolve 'optional' tag in port definition, git, 2017/02/12
- [Commit-gnuradio] [gnuradio] 05/10: cmake: removed stdint, inttypes, stdbool compat headers, git, 2017/02/12
- [Commit-gnuradio] [gnuradio] 03/10: cmake: updates to msvc config.h, git, 2017/02/12
- [Commit-gnuradio] [gnuradio] 10/10: Merge remote-tracking branch 'josh/win_build' into maint, git, 2017/02/12
- [Commit-gnuradio] [gnuradio] 01/10: runtime: ifdef out unistd.h in public header, git, 2017/02/12
- [Commit-gnuradio] [gnuradio] 02/10: dtv: switch to hex format for number constants,
git <=