Skip to content

Commit

Permalink
allow negative number when no id is found. allow front-end to differe…
Browse files Browse the repository at this point in the history
…ntiate (#971)
  • Loading branch information
aaknitt authored Sep 4, 2024
1 parent 5ecbce6 commit 6261282
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/simplestream/simplestream.cc
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class Simple_Stream : public Plugin_Api {
//Call local_call = *call;
System *call_system = call->get_system();
uint32_t call_tgid = call->get_talkgroup();
uint32_t call_src = call->get_current_source_id();
int32_t call_src = call->get_current_source_id();
uint32_t call_freq = call->get_freq();
std::string call_short_name = call->get_short_name();
std::string call_src_tag = call_system->find_unit_tag(call_src);
Expand Down Expand Up @@ -126,7 +126,7 @@ class Simple_Stream : public Plugin_Api {
boost::system::error_code error;
System *call_system = call->get_system();
uint32_t call_tgid = call->get_talkgroup();
uint32_t call_src = call->get_current_source_id();
int32_t call_src = call->get_current_source_id();
uint32_t call_freq = call->get_freq();
std::string call_short_name = call->get_short_name();
std::string call_src_tag = call_system->find_unit_tag(call_src);
Expand Down

0 comments on commit 6261282

Please sign in to comment.