Fixed typos in cli output and source code comments
This commit is contained in:
committed by
Andreas Eversberg
parent
97636aac1e
commit
a07764f0d9
@@ -445,7 +445,7 @@ static int dissassemble_frame(frame_t *frame, const uint8_t *message, int num)
|
||||
|
||||
PDEBUG(DFRAME, DEBUG_DEBUG, "Decoding frame %s %s\n", r2000_dir_name(dir), r2000_frame_name(frame->message, dir));
|
||||
|
||||
/* dissassemble elements elements */
|
||||
/* disassemble elements elements */
|
||||
value = 0;
|
||||
for (i = 0; i < num; i++) {
|
||||
value = (value << 1) | ((message[i / 8] >> (7 - (i & 7))) & 1);
|
||||
|
@@ -345,7 +345,7 @@ int main(int argc, char *argv[])
|
||||
fprintf(stderr, "*******************************************************************************\n");
|
||||
fprintf(stderr, "I strongly suggest to let me do pre- and de-emphasis (options -p -d)!\n");
|
||||
fprintf(stderr, "Use a transmitter/receiver without emphasis and let me do that!\n");
|
||||
fprintf(stderr, "Because 50 baud supervisory signalling around 150 Hz will not be tranmitted by\n");
|
||||
fprintf(stderr, "Because 50 baud supervisory signalling around 150 Hz will not be transmitted by\n");
|
||||
fprintf(stderr, "regular radio, use direct input to the PLL of your transmitter (or use SDR).\n");
|
||||
fprintf(stderr, "*******************************************************************************\n");
|
||||
}
|
||||
|
@@ -647,7 +647,7 @@ static r2000_t *move_call_to_chan(r2000_t *old_r2000, enum r2000_chan_type chan_
|
||||
* idle process
|
||||
*/
|
||||
|
||||
/* trasmit beacon */
|
||||
/* transmit beacon */
|
||||
static void tx_idle(r2000_t __attribute__((unused)) *r2000, frame_t *frame)
|
||||
{
|
||||
frame->voie = 1;
|
||||
@@ -792,7 +792,7 @@ static void tx_ident(r2000_t *r2000, frame_t *frame)
|
||||
frame->sm_mor = r2000->subscriber.mor;
|
||||
|
||||
if (r2000->tx_frame_count == 1)
|
||||
PDEBUG_CHAN(DR2000, DEBUG_INFO, "Sending identity requrest\n");
|
||||
PDEBUG_CHAN(DR2000, DEBUG_INFO, "Sending identity request\n");
|
||||
}
|
||||
|
||||
/* receive identity response */
|
||||
@@ -923,7 +923,7 @@ static void rx_alert(r2000_t *r2000, frame_t *frame)
|
||||
|
||||
switch (r2000->state) {
|
||||
case STATE_IN_ALERT:
|
||||
/* answer incomming call */
|
||||
/* answer incoming call */
|
||||
PDEBUG(DR2000, DEBUG_INFO, "Answer call to network.\n");
|
||||
call_up_answer(r2000->callref, subscriber2string(&r2000->subscriber));
|
||||
break;
|
||||
|
@@ -22,16 +22,16 @@ enum r2000_state {
|
||||
STATE_IDLE, /* channel is not in use */
|
||||
STATE_INSCRIPTION, /* SM registers */
|
||||
STATE_OUT_ASSIGN, /* assign outgoing call on CC */
|
||||
STATE_IN_ASSIGN, /* assign incomming call on CC */
|
||||
STATE_IN_ASSIGN, /* assign incoming call on CC */
|
||||
STATE_RECALL_ASSIGN, /* assign outgoing recall on CC */
|
||||
STATE_OUT_IDENT, /* identity outgoing call on TC */
|
||||
STATE_IN_IDENT, /* identity incomming call on TC */
|
||||
STATE_IN_IDENT, /* identity incoming call on TC */
|
||||
STATE_RECALL_IDENT, /* identity outgoing recall on TC */
|
||||
STATE_OUT_DIAL1, /* dialing outgoing call on TC */
|
||||
STATE_OUT_DIAL2, /* dialing outgoing call on TC */
|
||||
STATE_SUSPEND, /* suspend after dialing outgoing call on TC */
|
||||
STATE_RECALL_WAIT, /* wait for calling back the phone */
|
||||
STATE_IN_ALERT, /* alerting incomming call on TC */
|
||||
STATE_IN_ALERT, /* alerting incoming call on TC */
|
||||
STATE_OUT_ALERT, /* alerting outgoing call on TC */
|
||||
STATE_RECALL_ALERT, /* alerting outgoing recall on TC */
|
||||
STATE_ACTIVE, /* channel is in use */
|
||||
|
Reference in New Issue
Block a user