view lunalcd/initmain.c @ 80:1d38af6d7be8

0403:7151 USB ID support in mainline Linux
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 13 Oct 2020 04:29:10 +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);
}