Skip to content

Commit

Permalink
Remove unfinished object.c
Browse files Browse the repository at this point in the history
(Moved to fudge)
  • Loading branch information
petabyt committed Oct 11, 2024
1 parent e1d6eb2 commit 7d50d92
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 156 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ CAMLIB_CORE := operations.o packet.o enums.o data.o enum_dump.o lib.o canon.o li
CAMLIB_CORE := $(addprefix src/,$(CAMLIB_CORE))

# Implements CHDK and Magic Lantern functionality
EXTRAS := src/canon_adv.o src/object.o
EXTRAS := src/canon_adv.o

# Unix-specific
UNIX_CFLAGS = $(shell pkg-config --cflags libusb-1.0)
Expand Down
151 changes: 0 additions & 151 deletions src/object.c

This file was deleted.

2 changes: 1 addition & 1 deletion test/data.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <camlib.h>
#include <stdint.h>

int test_data() {
int test_data(void) {
{
uint8_t buffer[] = {05, 'H', 00, 'e', 00, 'l', 00, 'l', 00 ,'o', 00};
char string[64];
Expand Down
6 changes: 3 additions & 3 deletions test/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

#include <camlib.h>

int test_data(void);

int test_setup_usb(struct PtpRuntime *r) {
ptp_init(r);

Expand Down Expand Up @@ -257,9 +259,7 @@ static int test_multithread() {
return 0;
}

int test_data();

int main() {
int main(void) {
int rc;

rc = test_data();
Expand Down

0 comments on commit 7d50d92

Please sign in to comment.