Add GPS serial speed scan

This commit is contained in:
Jonathan Bennett
2023-08-28 11:13:17 -05:00
parent 2e3f762d3d
commit 903f619609
4 changed files with 94 additions and 37 deletions

View File

@@ -4,4 +4,9 @@
template <class T> constexpr const T &clamp(const T &v, const T &lo, const T &hi)
{
return (v < lo) ? lo : (hi < v) ? hi : v;
}
}
#if (defined(ARCH_PORTDUINO) && !defined(STRNSTR))
#define STRNSTR
char *strnstr(const char *s, const char *find, size_t slen);
#endif