diff options
author | Bdale Garbee <bdale@gag.com> | 2012-08-28 23:39:53 -0600 |
---|---|---|
committer | Bdale Garbee <bdale@gag.com> | 2012-08-28 23:39:53 -0600 |
commit | 5ed88fb72c3e3ecf3333c700d838667db71cfbdc (patch) | |
tree | 3b371f563c0f7607f2fe53242673adb352b48514 /src/cc1111/ao_aes.c | |
parent | adbe64c5a9402b7c5075a444a12629131b663877 (diff) | |
parent | 621d0930244f25165d2ac5da596dcc87e253b965 (diff) |
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Conflicts:
debian/control
Diffstat (limited to 'src/cc1111/ao_aes.c')
-rw-r--r-- | src/cc1111/ao_aes.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cc1111/ao_aes.c b/src/cc1111/ao_aes.c index d50fecfb..0e32abf6 100644 --- a/src/cc1111/ao_aes.c +++ b/src/cc1111/ao_aes.c @@ -136,7 +136,11 @@ void ao_aes_init(void) { ao_aes_dma_in = ao_dma_alloc(&ao_aes_dma_in_done); +#if DMA_SHARE_AES_RADIO + ao_aes_dma_out = ao_radio_dma; +#else ao_aes_dma_out = ao_dma_alloc(&ao_aes_dma_out_done); +#endif S0CON = 0; ENCIE = 1; } |