We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc88575 commit 4eb7210Copy full SHA for 4eb7210
1 file changed
src/autobaud.c
@@ -194,7 +194,7 @@ bool dma_configure(PIO pio, uint sm) {
194
195
// Compare rounded integer parts of baud rates
196
// Tolerance of 0.5% in detected versus set
197
-inline bool baud_changed(float new_baud, float baud) {
+static inline bool baud_changed(float new_baud, float baud) {
198
uint32_t hi = (uint32_t)(baud * 1.005f);
199
uint32_t lo = (uint32_t)(baud * 0.995f);
200
uint32_t new = (uint32_t)new_baud;
0 commit comments