Oops - light weight ring buffer documentation used \ref instead of \param to document function parameters.