mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-07-22 06:39:18 -04:00
fw: Disable all endpoints except CDC on start
This commit is contained in:
parent
72a2ea9cd3
commit
6b3ef15fb8
1 changed files with 3 additions and 0 deletions
|
@ -418,6 +418,9 @@ int main(void)
|
||||||
|
|
||||||
scramble_ram();
|
scramble_ram();
|
||||||
|
|
||||||
|
uint8_t select_ep_cmd[2] = { 1, IO_CDC };
|
||||||
|
write(IO_CH552, select_ep_cmd, sizeof(select_ep_cmd));
|
||||||
|
|
||||||
#if defined(SIMULATION)
|
#if defined(SIMULATION)
|
||||||
run(&ctx);
|
run(&ctx);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue