Skip to content

Commit 70f6b23

Browse files
committed
Remove unused code
1 parent 940cf82 commit 70f6b23

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

libraries/Camera/examples/CameraCaptureRawBytes/CameraCaptureRawBytes.ino

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ FrameBuffer fb;
4141

4242
unsigned long lastUpdate = 0;
4343

44-
4544
void blinkLED(uint32_t count = 0xFFFFFFFF)
4645
{
4746
pinMode(LED_BUILTIN, OUTPUT);
@@ -54,14 +53,6 @@ void blinkLED(uint32_t count = 0xFFFFFFFF)
5453
}
5554
}
5655

57-
void clearSerialBuffer(){
58-
while(Serial.available()){
59-
Serial.read();
60-
}
61-
Serial.end();
62-
Serial.begin(9600);
63-
}
64-
6556
void setup() {
6657
// Init the cam QVGA, 30FPS
6758
if (!cam.begin(RESOLUTION, IMAGE_MODE, 30)) {

0 commit comments

Comments
 (0)