mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-12-17 09:33:57 -05:00
fw: Remove SET_LED syscall
SET_LED was used during development and no longer needed
This commit is contained in:
parent
a3bdc73efa
commit
15c80f65ed
2 changed files with 1 additions and 5 deletions
|
|
@ -6,8 +6,8 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <tkey/assert.h>
|
#include <tkey/assert.h>
|
||||||
#include <tkey/debug.h>
|
#include <tkey/debug.h>
|
||||||
#include <tkey/led.h>
|
|
||||||
#include <tkey/lib.h>
|
#include <tkey/lib.h>
|
||||||
|
#include <tkey/tk1_mem.h>
|
||||||
|
|
||||||
#include "partition_table.h"
|
#include "partition_table.h"
|
||||||
#include "preload_app.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 -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
|
||||||
case TK1_SYSCALL_SET_LED:
|
|
||||||
led_set(arg1);
|
|
||||||
return 0;
|
return 0;
|
||||||
case TK1_SYSCALL_GET_VIDPID:
|
case TK1_SYSCALL_GET_VIDPID:
|
||||||
// UDI is 2 words: VID/PID & serial. Return just the
|
// UDI is 2 words: VID/PID & serial. Return just the
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,6 @@ enum syscall_num {
|
||||||
TK1_SYSCALL_PRELOAD_GET_DIGSIG = 11,
|
TK1_SYSCALL_PRELOAD_GET_DIGSIG = 11,
|
||||||
TK1_SYSCALL_REG_MGMT = 12,
|
TK1_SYSCALL_REG_MGMT = 12,
|
||||||
TK1_SYSCALL_STATUS = 13,
|
TK1_SYSCALL_STATUS = 13,
|
||||||
TK1_SYSCALL_SET_LED = 30,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue