Skip to content

Commit

Permalink
Revert "add schema version to connect message"
Browse files Browse the repository at this point in the history
This reverts commit 7628b5c.
  • Loading branch information
blogic committed Apr 9, 2024
1 parent 7628b5c commit fef48a2
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 51 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ADD_DEFINITIONS(-Os -std=gnu99 -g3 -Wmissing-declarations -Wno-unused-parameter)

SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")

SET(SOURCES main.c config.c proto.c ubus.c task.c cmd.c apply.c upload.c rebootlog.c event.c collide.c version.c)
SET(SOURCES main.c config.c proto.c ubus.c task.c cmd.c apply.c upload.c rebootlog.c event.c collide.c)

FIND_LIBRARY(ubus NAMES ubus)
FIND_LIBRARY(blobmsg_json NAMES blobmsg_json)
Expand Down
1 change: 0 additions & 1 deletion proto.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ connect_send(void)

blobmsg_add_string(&proto, "serial", client.serial);
blobmsg_add_string(&proto, "firmware", client.firmware);
version_init(&proto);
if (client.recovery)
blobmsg_add_u64(&proto, "uuid", 0);
else
Expand Down
2 changes: 0 additions & 2 deletions ucentral.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,6 @@ void password_notify(char *pwd);
void venue_broadcast_handle(struct blob_attr *rpc);
void venue_broadcast_send(struct blob_attr *payload);

void version_init(struct blob_buf *b);

static inline void safe_free(char **mem)
{
if (!*mem)
Expand Down
47 changes: 0 additions & 47 deletions version.c

This file was deleted.

0 comments on commit fef48a2

Please sign in to comment.