diff options
author | Max <msuraev@sysmocom.de> | 2018-11-16 21:36:52 +0100 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2018-11-16 21:37:55 +0100 |
commit | d44503337dc91926ade98fcb44246e79cb95b084 (patch) | |
tree | 405a649d6f7fa290da31fdc68ac699b3a82e9378 /src/host/layer23/include/osmocom/bb | |
parent | aa4dbe2b8e2d9ddddd47798b614e058f99d06582 (diff) |
mobile: use proper type for boolean flags
This makes reading code easier and simplifies further modifications.
Change-Id: I7eff2a61495ff167dc19fc9a41882a7a11fbf32d
Diffstat (limited to 'src/host/layer23/include/osmocom/bb')
-rw-r--r-- | src/host/layer23/include/osmocom/bb/mobile/mncc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/host/layer23/include/osmocom/bb/mobile/mncc.h b/src/host/layer23/include/osmocom/bb/mobile/mncc.h index cad1883c..8ec9358d 100644 --- a/src/host/layer23/include/osmocom/bb/mobile/mncc.h +++ b/src/host/layer23/include/osmocom/bb/mobile/mncc.h @@ -36,9 +36,9 @@ struct gsm_call { uint32_t callref; - uint8_t init; /* call initiated, no response yet */ - uint8_t hold; /* call on hold */ - uint8_t ring; /* call ringing/knocking */ + bool init; /* call initiated, no response yet */ + bool hold; /* call on hold */ + bool ring; /* call ringing/knocking */ struct osmo_timer_list dtmf_timer; uint8_t dtmf_state; |