mirror of
https://github.com/sipeed/Maixduino.git
synced 2026-03-03 09:04:00 +01:00
Disable debug output by default from GC0328 camera driver. Fixed GC0328 camera driver mirror/flip functionality
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -37,6 +37,7 @@ public:
|
||||
bool begin(bool binocular);
|
||||
virtual void end();
|
||||
bool reset(bool binocular = false);
|
||||
void debug(bool enable);
|
||||
bool setPixFormat(pixformat_t pixFormat);
|
||||
bool setFrameSize(framesize_t frameSize);
|
||||
virtual bool run(bool run);
|
||||
@@ -51,6 +52,7 @@ public:
|
||||
virtual void setRotation(uint8_t rotation);
|
||||
virtual void setInvert(bool invert);
|
||||
virtual void shutdown(bool enable);
|
||||
void setFlip(bool flip);
|
||||
|
||||
private:
|
||||
uint8_t* _dataBuffer; // put RGB565 data
|
||||
@@ -63,6 +65,7 @@ private:
|
||||
TwoWire *_i2c; // replace sccb
|
||||
bool _vflip;
|
||||
bool _hmirror;
|
||||
bool _debug;
|
||||
|
||||
int dvpInit(uint32_t freq = 14000000);
|
||||
int dvpInitIrq();
|
||||
|
||||
Reference in New Issue
Block a user