mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-04-20 07:16:00 -04:00
fw: Disable all endpoints except CDC on start
This commit is contained in:
parent
72a2ea9cd3
commit
6b3ef15fb8
@ -418,6 +418,9 @@ int main(void)
|
||||
|
||||
scramble_ram();
|
||||
|
||||
uint8_t select_ep_cmd[2] = { 1, IO_CDC };
|
||||
write(IO_CH552, select_ep_cmd, sizeof(select_ep_cmd));
|
||||
|
||||
#if defined(SIMULATION)
|
||||
run(&ctx);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user