1
0
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:
James Snyder 2014-04-17 12:18:23 -05:00
parent 8405e9bbbb
commit edbe57047f
2 changed files with 2 additions and 0 deletions

View File

@ -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 )

View File

@ -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 )