Output ASCII art image after all init functions (inside main_mobile.c)

pull/1/head
Andreas Eversberg 3 years ago
parent 13245c56f6
commit 1eac087935
  1. 3
      src/amps/amps_tacs_main.c
  2. 2
      src/amps/image.c
  3. 2
      src/anetz/image.c
  4. 3
      src/anetz/image.h
  5. 4
      src/anetz/main.c
  6. 2
      src/bnetz/image.c
  7. 3
      src/bnetz/image.h
  8. 4
      src/bnetz/main.c
  9. 2
      src/cnetz/image.c
  10. 3
      src/cnetz/image.h
  11. 4
      src/cnetz/main.c
  12. 2
      src/jolly/main.c
  13. 2
      src/jtacs/image.c
  14. 3
      src/jtacs/image.h
  15. 4
      src/libhagelbarger/hagelbarger.c
  16. 0
      src/libmobile/image.h
  17. 4
      src/libmobile/main_mobile.c
  18. 2
      src/nmt/image.c
  19. 3
      src/nmt/image.h
  20. 4
      src/nmt/main.c
  21. 2
      src/r2000/image.c
  22. 3
      src/r2000/image.h
  23. 4
      src/r2000/main.c
  24. 2
      src/tacs/image.c
  25. 3
      src/tacs/image.h
  26. 2
      src/test/test_dms.c
  27. 2
      src/test/test_sms.c

@ -31,7 +31,6 @@
#include "amps.h"
#include "dsp.h"
#include "frame.h"
#include "image.h"
#include "stations.h"
#include "main.h"
@ -326,8 +325,6 @@ int main_amps_tacs(int argc, char *argv[])
exit(0);
}
if (!loopback)
print_image();
sid_stations(sid);
/* inits */

@ -1,6 +1,6 @@
#include <stdio.h>
#include <string.h>
#include "image.h"
#include "../libmobile/image.h"
const char *image[] = {
"",

@ -1,6 +1,6 @@
#include <stdio.h>
#include <string.h>
#include "image.h"
#include "../libmobile/image.h"
const char *image[] = {
"@w",

@ -1,3 +0,0 @@
void print_image(void);

@ -35,7 +35,6 @@
#include "anetz.h"
#include "dsp.h"
#include "stations.h"
#include "image.h"
/* settings */
static char operator[32] = "010";
@ -174,9 +173,6 @@ int main(int argc, char *argv[])
exit(0);
}
if (!loopback)
print_image();
/* inits */
fm_init(fast_math);
dsp_init();

@ -1,6 +1,6 @@
#include <stdio.h>
#include <string.h>
#include "image.h"
#include "../libmobile/image.h"
const char *image[] = {
"@g",

@ -1,3 +0,0 @@
void print_image(void);

@ -33,7 +33,6 @@
#include "bnetz.h"
#include "dsp.h"
#include "stations.h"
#include "image.h"
#include "ansage.h"
int gfs = 2;
@ -173,9 +172,6 @@ int main(int argc, char *argv[])
exit(0);
}
if (!loopback)
print_image();
/* inits */
fm_init(fast_math);
dsp_init();

@ -1,6 +1,6 @@
#include <stdio.h>
#include <string.h>
#include "image.h"
#include "../libmobile/image.h"
const char *image[] = {
"@g _\n"

@ -1,3 +0,0 @@
void print_image(void);

@ -35,7 +35,6 @@
#include "sysinfo.h"
#include "dsp.h"
#include "telegramm.h"
#include "image.h"
#include "ansage.h"
/* settings */
@ -493,9 +492,6 @@ int main(int argc, char *argv[])
return 0;
}
if (!loopback)
print_image();
/* inits */
fm_init(fast_math);
scrambler_init();

@ -48,6 +48,8 @@ static double squelch_db = -INFINITY;
int nbfm = 0;
int repeater = 0;
void print_image(void) {}
void print_help(const char *arg0)
{
main_mobile_print_help(arg0, "[-F <downlink MHz>,<uplink MHz>] ");

@ -1,6 +1,6 @@
#include <stdio.h>
#include <string.h>
#include "image.h"
#include "../libmobile/image.h"
void print_image(void)
{

@ -1,3 +0,0 @@
void print_image(void);

@ -5,8 +5,8 @@
* another burst of corrupted bits.
*
* There is no parity check, so it is required to check all information
* elements of each message. Messages that contain signals or digits are
* protected by repeating the digits in the information element.
* elements of each message. With NMT System: Messages that contain signals
* or digits are protected by repeating the digits in the information element.
*
* (C) 2017 by Andreas Eversberg <jolly@eversberg.eu>
* All Rights Reserved

@ -42,6 +42,7 @@
#endif
#include "../liboptions/options.h"
#include "../libfm/fm.h"
#include "image.h"
#define DEFAULT_LO_OFFSET -1000000.0
@ -494,6 +495,9 @@ void main_mobile(int *quit, int latency, int interval, void (*myhandler)(void),
if (console_open_audio(latspl))
return;
if (!loopback)
print_image();
/* real time priority */
if (rt_prio > 0) {
struct sched_param schedp;

@ -1,6 +1,6 @@
#include <stdio.h>
#include <string.h>
#include "image.h"
#include "../libmobile/image.h"
const char *image[] = {
"",

@ -1,3 +0,0 @@
void print_image(void);

@ -33,7 +33,6 @@
#include "nmt.h"
#include "frame.h"
#include "dsp.h"
#include "image.h"
#include "tones.h"
#include "announcement.h"
#include "countries.h"
@ -381,9 +380,6 @@ int main(int argc, char *argv[])
}
}
if (!loopback)
print_image();
/* inits */
fm_init(fast_math);
rc = init_frame();

@ -1,6 +1,6 @@
#include <stdio.h>
#include <string.h>
#include "image.h"
#include "../libmobile/image.h"
const char *image[] = {
"",

@ -1,3 +0,0 @@
void print_image(void);

@ -34,7 +34,6 @@
#include "dsp.h"
#include "frame.h"
#include "tones.h"
#include "image.h"
/* settings */
static int band = 1;
@ -332,9 +331,6 @@ int main(int argc, char *argv[])
getchar();
}
if (!loopback && crins != 3)
print_image();
/* inits */
fm_init(fast_math);
dsp_init();

@ -1,6 +1,6 @@
#include <stdio.h>
#include <string.h>
#include "image.h"
#include "../libmobile/image.h"
const char *image[] = {
"",

@ -1,3 +0,0 @@
void print_image(void);

@ -253,3 +253,5 @@ int main(void)
return 0;
}
void print_image(void) {}

@ -162,3 +162,5 @@ int main(void)
return 0;
}
void print_image(void) {}

Loading…
Cancel
Save