Skip to content

Commit

Permalink
Merge pull request #110 from claycoleman/patch-1
Browse files Browse the repository at this point in the history
Fix broken compilation code in tiny training tutorial
  • Loading branch information
synxlin authored Nov 27, 2024
2 parents d6503bd + e08f040 commit 47bb283
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
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

0 comments on commit 47bb283

Please sign in to comment.