From ab65b898b0ab531a71f1cd7afb0ddfdfb89f340a Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Fri, 15 May 2015 16:20:13 +0200 Subject: ucoo/{intf,hal/spi}: make enable and disable part of the interface --- ucoo/hal/spi/spi_soft.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ucoo/hal') diff --git a/ucoo/hal/spi/spi_soft.hh b/ucoo/hal/spi/spi_soft.hh index 2dc1a64..b162d75 100644 --- a/ucoo/hal/spi/spi_soft.hh +++ b/ucoo/hal/spi/spi_soft.hh @@ -36,9 +36,9 @@ class SpiSoftMaster : public SpiMaster SpiSoftMaster (Io &sck, Io &mosi, Io &miso); /// Destructor, disable. ~SpiSoftMaster (); - /// Enable and setup. + /// See SpiMaster::enable. void enable (int speed_hz, SpiMode mode = SPI_MODE_0); - /// Disable. + /// See SpiMaster::disable. void disable (); /// See SpiMaster::send_and_recv. void send_and_recv (const char *tx_buf, char *rx_buf, int count); -- cgit v1.2.3