fixed channel data save, works to buffer and sd card