Permalink
Browse files

Fixed reset bug.

  • Loading branch information...
1 parent fbb3502 commit e00ca8a7b7a972dbd7a276182062e038049159d8 @peromo peromo committed Mar 30, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 sound_functions.e
View
@@ -1,6 +1,10 @@
// Plays a raw sound file from SD card by copying to SDRAM
load_sound
+ cp sdram_currx num0
+ cp sdram_curry num0
+ cp sd_curr_addr_low num0
+ cp sd_curr_addr_high num0
// Read a sample from the SD card
get_sd_sample cp sd_addr_low sd_curr_addr_low
@@ -75,7 +79,7 @@ sdram_reset cp sdram_endx sdram_currx
sd_curr_addr_low .data 0
sd_curr_addr_high .data 0
-sd_addr_low_end .data 15000
+sd_addr_low_end .data 28800
sd_addr_high_end .data 0
fftn_bit_thresh .data 32767

0 comments on commit e00ca8a

Please sign in to comment.