Skip to content

Commit 7f7f24e

Browse files
authored
调整摄像头拍照方向 (#693)
1 parent 030a6b9 commit 7f7f24e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

main/boards/df-k10/df_k10_board.cc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class Df_K10Board : public WifiBoard {
105105
}
106106
void InitializeButtons() {
107107
instance_ = this;
108-
108+
109109
// Button A
110110
button_config_t btn_a_config = {
111111
.long_press_time = 1000,
@@ -168,7 +168,7 @@ class Df_K10Board : public WifiBoard {
168168
}
169169

170170
void InitializeCamera() {
171-
171+
172172
camera_config_t config = {};
173173
config.ledc_channel = LEDC_CHANNEL_2; // LEDC通道选择 用于生成XCLK时钟 但是S3不用
174174
config.ledc_timer = LEDC_TIMER_2; // LEDC timer选择 用于生成XCLK时钟 但是S3不用
@@ -198,7 +198,6 @@ class Df_K10Board : public WifiBoard {
198198
config.grab_mode = CAMERA_GRAB_WHEN_EMPTY;
199199

200200
camera_ = new Esp32Camera(config);
201-
camera_->SetVFlip(1);
202201
}
203202

204203
void InitializeIli9341Display() {

0 commit comments

Comments
 (0)