Fix:Crash on Jessie, change DMA to channel 8

This commit is contained in:
F5OEO 2015-10-22 11:40:47 +00:00
parent ee3838a570
commit 09cc878c6c
1 changed files with 3 additions and 1 deletions

View File

@ -72,7 +72,9 @@ struct {
//On Jessie Pi2:
//3893 : 111100110101
// USE CHANNEL 4 AND 5 which seems to be free
#define DMA_CHANNEL 4
// On Jessie, channel 4 and 5 seems to crash : set to DMA 8 .
#define DMA_CHANNEL 8
#define DMA_CHANNEL_PWMFREQUENCY (DMA_CHANNEL+1)
typedef struct {