summaryrefslogtreecommitdiffstats
path: root/src/timer_clockgettime.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-03-23 02:04:18 +0100
committerHarald Welte <laforge@gnumonks.org>2018-03-23 12:25:13 +0000
commit473485c903c16c36198d6317a0545f109785cf21 (patch)
tree56a063d57071188bae97bef3d977bc968db02178 /src/timer_clockgettime.c
parentc1991df2c496835bd2bdfda6c79c5100dea56a8d (diff)
gsm0808_test: cosmetic: test non-hex MCC
The test currently sets the MCC by a hex value, which is a weird choice. The MCC gets BCD'd and hence we will see the decimal values 1:1 in the encoded octets as hex digits. Using hex as input obscures that: Right now it sets mcc = 0x123, which is actually 291 in decimal, and we hence see "92 .1" in the expected BCD result. Using 0x124 in the test source actually makes it hard to see where the 0x123 went. Change the MCC to decimal notation (123, 124, 125) and adjust the expected encoded output. Change-Id: I973835c54a90fefe50d2b3581324d12556715f58
Diffstat (limited to 'src/timer_clockgettime.c')
0 files changed, 0 insertions, 0 deletions