Commit cac8b2ff authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

+comment about adding to (void *)

parent 321e5f6b
...@@ -190,6 +190,9 @@ int elphelmem_update_partitions(void){ ...@@ -190,6 +190,9 @@ int elphelmem_update_partitions(void){
tmpsize = _elphel_buf.circbuf_start_offset; tmpsize = _elphel_buf.circbuf_start_offset;
// vaddrs are (void *) later assigned to buffer pointer
// this (void *) is byte size and so are tmpsize units
// fill out buffers info // fill out buffers info
_elphel_buf.circbuf_chn0_vaddr = _elphel_buf.vaddr+tmpsize; _elphel_buf.circbuf_chn0_vaddr = _elphel_buf.vaddr+tmpsize;
_elphel_buf.circbuf_chn0_paddr = _elphel_buf.paddr+tmpsize; _elphel_buf.circbuf_chn0_paddr = _elphel_buf.paddr+tmpsize;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment