summaryrefslogtreecommitdiff
path: root/src/ipa
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipa')
-rw-r--r--src/ipa/raspberrypi/raspberrypi.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/ipa/raspberrypi/raspberrypi.cpp b/src/ipa/raspberrypi/raspberrypi.cpp
index bd20b144..93e43f06 100644
--- a/src/ipa/raspberrypi/raspberrypi.cpp
+++ b/src/ipa/raspberrypi/raspberrypi.cpp
@@ -67,8 +67,8 @@ class IPARPi : public ipa::RPi::IPARPiInterface
{
public:
IPARPi()
- : lastMode_({}), controller_(), frameCount_(0), checkCount_(0),
- mistrustCount_(0), lsTable_(nullptr), firstStart_(true)
+ : controller_(), frameCount_(0), checkCount_(0), mistrustCount_(0),
+ lsTable_(nullptr), firstStart_(true)
{
}
@@ -128,7 +128,6 @@ private:
/* Camera sensor params. */
CameraMode mode_;
- CameraMode lastMode_;
/* Raspberry Pi controller specific defines. */
std::unique_ptr<RPiController::CamHelper> helper_;
@@ -383,8 +382,6 @@ int IPARPi::configure(const CameraSensorInfo &sensorInfo,
result->controls = std::move(ctrls);
}
- lastMode_ = mode_;
-
return 0;
}