xmos / lib_sdram

SDRAM library
Other
1 stars 6 forks source link

API in docs does not match code #7

Closed ed-xmos closed 7 years ago

ed-xmos commented 8 years ago

docs show separate parameters: sdram_read (c_server, sdram_state, bank, row, col, words, move(buffer_pointer));

But code wraps in a struct:

int sdram_read (streaming chanend c_sdram_server, s_sdram_state &state, unsigned address, unsigned word_count, unsigned * movable buffer);

ed-xmos commented 7 years ago

Addressed by 3.2.0 / https://github.com/xmos/lib_sdram/pull/18