view lunalcd/initmain.c @ 145:14dee03e9675

fc-uicc-tool: low-level write commands ported over
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 06 Feb 2021 02:17:51 +0000
parents cdf2c99e5025
children
line wrap: on
line source

#include <stdio.h>
#include <stdlib.h>

main(argc, argv)
	char **argv;
{
	if (argc != 2) {
		fprintf(stderr, "usage: %s output-mode\n", argv[0]);
		exit(1);
	}
	set_output_mode(argv[1]);
	lcd_init_seq();
	exit(0);
}