Fix fuse_get_hardware_type for 4.x

This commit is contained in:
TuxSH 2018-03-07 23:24:38 +01:00
parent d5bb96c0f8
commit a409016a88
2 changed files with 4 additions and 3 deletions

View file

@ -204,8 +204,8 @@ void call_smc_handler(uint32_t handler_id, smc_args_t *args) {
int num_called = atomic_fetch_add(&g_num_smcs_called, 1);
/* DEBUG: use num_called to determine panic behavior. */
if (num_called == 0x30) {
/* panic(COLOR_F); */
if (num_called == 0x21A) {
panic(COLOR_F);
}
/* Call function. */