Skip to content

Commit

Permalink
Added friend flag for user-db. Fixed #82.
Browse files Browse the repository at this point in the history
  • Loading branch information
hmatuschek committed Jul 2, 2021
1 parent 61c0781 commit db0fdfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/d868uv_callsigndb.hh
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ public:

uint8_t call_type; ///< Call type, see @c CallType.
uint32_t id; ///< DMR ID, BCD encoded, big endian.
uint8_t ring; ///< Ring tone, see @c RingTone.

uint8_t ring : 4, ///< Ring tone, see @c RingTone.
is_friend : 4; ///< If 0x1, entry is marked as a "friend".
uint8_t body[94]; ///< Up to 94 bytes name, city, callsign, state, country and comment.

/** Constructs a database entry from the given user.
Expand Down

0 comments on commit db0fdfd

Please sign in to comment.