Removing dead-code allowance
This commit is contained in:
parent
e161f49822
commit
51085d175e
|
@ -328,7 +328,6 @@ macro_rules! adc_input {
|
|||
}
|
||||
|
||||
/// Enable the ADC DMA transfer sequence.
|
||||
#[allow(dead_code)]
|
||||
pub fn start(&mut self) {
|
||||
self.transfer.start(|spi| {
|
||||
spi.enable_dma_rx();
|
||||
|
@ -346,7 +345,6 @@ macro_rules! adc_input {
|
|||
///
|
||||
/// # Returns
|
||||
/// A reference to the underlying buffer that has been filled with ADC samples.
|
||||
#[allow(dead_code)]
|
||||
pub fn acquire_buffer(&mut self) -> &[u16; SAMPLE_BUFFER_SIZE] {
|
||||
// Wait for the transfer to fully complete before continuing. Note: If a device
|
||||
// hangs up, check that this conditional is passing correctly, as there is no
|
||||
|
|
Loading…
Reference in New Issue