fw: Remove SET_LED syscall

SET_LED was used during development and no longer needed
This commit is contained in:
Mikael Ågren 2025-04-10 17:20:45 +02:00
parent a3bdc73efa
commit 15c80f65ed
No known key found for this signature in database
GPG Key ID: E02DA3D397792C46
2 changed files with 1 additions and 5 deletions

View File

@ -6,8 +6,8 @@
#include <stdint.h>
#include <tkey/assert.h>
#include <tkey/debug.h>
#include <tkey/led.h>
#include <tkey/lib.h>
#include <tkey/tk1_mem.h>
#include "partition_table.h"
#include "preload_app.h"
@ -75,9 +75,6 @@ int32_t syscall_handler(uint32_t number, uint32_t arg1, uint32_t arg2,
return -1;
}
return 0;
case TK1_SYSCALL_SET_LED:
led_set(arg1);
return 0;
case TK1_SYSCALL_GET_VIDPID:
// UDI is 2 words: VID/PID & serial. Return just the

View File

@ -18,7 +18,6 @@ enum syscall_num {
TK1_SYSCALL_PRELOAD_GET_DIGSIG = 11,
TK1_SYSCALL_REG_MGMT = 12,
TK1_SYSCALL_STATUS = 13,
TK1_SYSCALL_SET_LED = 30,
};
#endif