mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-05 09:29:39 +00:00
cc65 2.13. allows to
- explicitly set 80 column mode - control exit behaviour from the program itself (instead of requiring a loader variant).
This commit is contained in:
parent
d30ccbe81d
commit
d8aee18f6c
@ -30,7 +30,7 @@
|
|||||||
*
|
*
|
||||||
* Author: Oliver Schmidt <ol.sc@web.de>
|
* Author: Oliver Schmidt <ol.sc@web.de>
|
||||||
*
|
*
|
||||||
* $Id: contiki-main.c,v 1.18 2008/07/06 07:37:34 oliverschmidt Exp $
|
* $Id: contiki-main.c,v 1.19 2009/10/18 09:37:37 oliverschmidt Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "contiki-net.h"
|
#include "contiki-net.h"
|
||||||
@ -70,6 +70,9 @@ main(void)
|
|||||||
{
|
{
|
||||||
struct ethernet_config *ethernet_config;
|
struct ethernet_config *ethernet_config;
|
||||||
|
|
||||||
|
rebootafterexit();
|
||||||
|
videomode(VIDEOMODE_80COL);
|
||||||
|
|
||||||
#if !WITH_PFS
|
#if !WITH_PFS
|
||||||
close(STDIN_FILENO);
|
close(STDIN_FILENO);
|
||||||
close(STDOUT_FILENO);
|
close(STDOUT_FILENO);
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user