diff options
author | Keith Packard <keithp@keithp.com> | 2016-02-07 00:15:47 +1100 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2016-02-07 15:42:28 -0800 |
commit | 1473f9234ffd34d8f37bc489dfc9fc4d7f1b3eed (patch) | |
tree | 2ddd0f441b4ba2f08197b60906e7469850c23c00 /src/chaoskey-v0.1/ao_chaoskey.c | |
parent | 235198b85f1583d2792c7028decace61d1b4229e (diff) |
altos/chaoskey-v0.1: Add power management and change USB classes
Enable power management.
Expose only a single IN endpoint.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/chaoskey-v0.1/ao_chaoskey.c')
-rw-r--r-- | src/chaoskey-v0.1/ao_chaoskey.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/chaoskey-v0.1/ao_chaoskey.c b/src/chaoskey-v0.1/ao_chaoskey.c index c9490184..48c8bf04 100644 --- a/src/chaoskey-v0.1/ao_chaoskey.c +++ b/src/chaoskey-v0.1/ao_chaoskey.c @@ -20,12 +20,6 @@ #include <ao_crc.h> #include <ao_trng_send.h> -static void -ao_hv_init(void) -{ - ao_enable_output(AO_HV_ENABLE_PORT, AO_HV_ENABLE_BIT, AO_HV_ENABLE_PIN, 1); -} - void main(void) { ao_led_init(LEDS_AVAILABLE); @@ -39,8 +33,6 @@ void main(void) ao_usb_init(); - ao_hv_init(); - ao_trng_send_init(); ao_led_off(AO_LED_RED); |