view lunalcd/initmain.c @ 77:86db7b4bfca4

fteeprom-prog-bad: make the "bad" version easily accessible for testing
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 17 Sep 2020 00:43:26 +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);
}