Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken compilation code in tiny training tutorial #110

Merged
merged 3 commits into from
Nov 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tutorial/training/Inc/JPEGDecoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

#include "User_Config.h"
#include <stdio.h>
#include <cstdint>

#if defined(ESP8266) || defined(ESP32)

Expand Down
1 change: 1 addition & 0 deletions tutorial/training/Inc/lcd.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#ifndef LCD_H_
#define LCD_H_
#include <stdio.h>
#include <cstdint>

void loadRGB565LCD(uint32_t x, uint32_t y, uint32_t width, uint32_t height,
uint16_t *src, uint8_t resize);
Expand Down
2 changes: 2 additions & 0 deletions tutorial/training/Src/camera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ int DecodeandProcessRGB565(int image_width, int image_height,
}
}
}
return 0;
}

int DecodeandProcessAndRGB(int image_width, int image_height,
Expand Down Expand Up @@ -271,6 +272,7 @@ int DecodeandProcessAndRGB(int image_width, int image_height,
}
}
}
return 0;
}

int DecodeandProcess(int image_width, int image_height, uint8_t *image_data) {
Expand Down