Mercurial > hg > beaglert
diff include/PRU.h @ 15:901d205d1a3c
Updated to latest PRU library; external PRU file no longer needed. Also catch SIGTERM as well as SIGINT to clean up gracefully.
author | andrewm |
---|---|
date | Sat, 07 Feb 2015 16:41:56 +0000 |
parents | a6beeba3a648 |
children | 670be80463a3 |
line wrap: on
line diff
--- a/include/PRU.h Fri Jan 23 15:35:10 2015 +0000 +++ b/include/PRU.h Sat Feb 07 16:41:56 2015 +0000 @@ -36,8 +36,8 @@ int initialise(int pru_num, int frames_per_buffer, int spi_channels, bool xenomai_test_pin = false); - // Run the code image in the specified file - int start(char * const filename); + // Run the code image in pru_rtaudio_bin.h + int start(); // Loop: read and write data from the PRU void loop();