Commit e0b9f315 authored by alex@thinkpad's avatar alex@thinkpad
Browse files

boot-hack: no real reason to use short for magic_off

(

--HG--
branch : lua_fix
parent 53cf435ae5d8
......@@ -345,9 +345,10 @@ static void nop( void ) { }
void menu_init( void ) __attribute__((weak,alias("nop")));
void debug_init( void ) __attribute__((weak,alias("nop")));
static unsigned short int magic_off = 0; // Set to 1 to disable ML
static unsigned short int magic_off_request = 0;
unsigned short int magic_is_off()
static int magic_off = 0; // Set to 1 to disable ML
static int magic_off_request = 0;
int magic_is_off()
{
return magic_off;
}
......
#ifndef __BOOT_HACK_H_
#define __BOOT_HACK_H_
unsigned short int magic_is_off();
int magic_is_off();
void _disable_ml_startup();
/* Blocks execution until config is read */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment