mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-19 00:41:41 +00:00
Add version verification disable switch in photonlib (#437)
This commit is contained in:
@@ -100,6 +100,8 @@ void PhotonCamera::SetLEDMode(LEDMode mode) {
|
||||
}
|
||||
|
||||
void PhotonCamera::VerifyVersion() const {
|
||||
if (!PhotonCamera::VERSION_CHECK_ENABLED) return;
|
||||
|
||||
const std::string& versionString = versionEntry.GetString("");
|
||||
if (versionString.empty()) {
|
||||
std::string path_ = path;
|
||||
|
||||
Reference in New Issue
Block a user