We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c369c6 commit 700893fCopy full SHA for 700893f
src/internal_peripheral.rs
@@ -60,8 +60,8 @@ impl IpGPIO {
60
}
61
62
lazy_static! {
63
- static ref USART_RX: Regex = Regex::new("USART._RX").unwrap();
64
- static ref USART_TX: Regex = Regex::new("USART._TX").unwrap();
+ static ref USART_RX: Regex = Regex::new("(LP)?US?ART._RX").unwrap();
+ static ref USART_TX: Regex = Regex::new("(LP)?US?ART._TX").unwrap();
65
static ref SPI_MOSI: Regex = Regex::new("SPI._MOSI").unwrap();
66
static ref SPI_MISO: Regex = Regex::new("SPI._MISO").unwrap();
67
static ref SPI_SCK: Regex = Regex::new("SPI._SCK").unwrap();
0 commit comments