mirror of
https://github.com/elua/elua.git
synced 2025-01-25 01:02:54 +08:00
missing return on stm32[f4] enc handler set functions
This commit is contained in:
parent
8405e9bbbb
commit
edbe57047f
@ -57,6 +57,7 @@ static int enc_set_index_handler( lua_State *L )
|
||||
|
||||
platform_cpu_set_interrupt( id, index_resnum, PLATFORM_CPU_ENABLE );
|
||||
prev_handler = elua_int_set_c_handler( id, index_handler );
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void index_handler( elua_int_resnum resnum )
|
||||
|
@ -57,6 +57,7 @@ static int enc_set_index_handler( lua_State *L )
|
||||
|
||||
platform_cpu_set_interrupt( id, index_resnum, PLATFORM_CPU_ENABLE );
|
||||
prev_handler = elua_int_set_c_handler( id, index_handler );
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void index_handler( elua_int_resnum resnum )
|
||||
|
Loading…
x
Reference in New Issue
Block a user