Skip to content

Commit

Permalink
ArduinoCounter: cleanup of remnants.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicost committed Dec 23, 2024
1 parent 68ff458 commit 5c2d45e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions DeviceAdapters/ArduinoCounter/ArduinoCounter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ MODULE_API void DeleteDevice(MM::Device* pDevice)


ArduinoCounterCamera::ArduinoCounterCamera() :
imageBuffer_(0),
nrCamerasInUse_(0),
initialized_(false),
invert_(false)
Expand Down Expand Up @@ -101,7 +100,6 @@ ArduinoCounterCamera::~ArduinoCounterCamera()

int ArduinoCounterCamera::Shutdown()
{
delete imageBuffer_;
// Rely on the cameras to shut themselves down
return DEVICE_OK;
}
Expand Down
1 change: 0 additions & 1 deletion DeviceAdapters/ArduinoCounter/ArduinoCounter.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ class ArduinoCounterCamera : public CCameraBase<ArduinoCounterCamera>
private:
int Logical2Physical(int logical);
bool ImageSizesAreEqual();
unsigned char* imageBuffer_;
int startCommunication();
int startCounting(int number);
int stopCounting();
Expand Down

0 comments on commit 5c2d45e

Please sign in to comment.