libhal-google / libhal-soft

Library for generic soft drivers officially supported by libhal
Apache License 2.0
1 stars 6 forks source link

Add default value to `p_data_in` in `inert_spi::transfer` #26

Open MaliaLabor opened 1 year ago

MaliaLabor commented 1 year ago

p_data_in is an out parameter meaning that users will look at this buffer after the function is called. It would be good to have a default value for what should be returned/written into the buffer