센서보드 RF IRQ 테스트 중
Fork of stm-spirit1-rf-driver by
Diff: stm-spirit1-rf-driver/SimpleSpirit1.h
- Revision:
- 37:bc043030b55a
- Parent:
- 34:edda6a7238ec
- Child:
- 51:d46b4cc970c5
diff -r cc14f5a17bd4 -r bc043030b55a stm-spirit1-rf-driver/SimpleSpirit1.h --- a/stm-spirit1-rf-driver/SimpleSpirit1.h Tue Nov 22 14:05:39 2016 +0100 +++ b/stm-spirit1-rf-driver/SimpleSpirit1.h Tue Nov 22 17:30:54 2016 +0100 @@ -58,7 +58,7 @@ static SimpleSpirit1 *_singleton; /** Communication Interface Instance Variables **/ - UnlockedSPI _spi; // betzw - NOTE: Arduino pins are valid only for NUCLEO-F401RE + UnlockedSPI _spi; // betzw - NOTE: Morpho/Zio pins are valid only for NUCLEO-F401RE // mosi: PA_7 (D11) // miso: PA_6 (D12) // sclk: PB_3 (D3) or @@ -85,7 +85,7 @@ } void start_rx_timeout(void) { - _rx_receiving_timeout.attach_us(Callback<void()>(this, &SimpleSpirit1::rx_timeout_handler), 500 * 1000); // 500ms + _rx_receiving_timeout.attach_us(Callback<void()>(this, &SimpleSpirit1::rx_timeout_handler), 100 * 1000); // 100ms } void stop_rx_timeout(void) {