Skip to content

Commit

Permalink
removed rpi network support
Browse files Browse the repository at this point in the history
  • Loading branch information
nesbox committed Aug 6, 2023
1 parent c687be9 commit d341181
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/studio/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -377,14 +377,6 @@ void tic_net_end(tic_net *net)
LightLock_Unlock(&net->tick_lock);
}

#elif defined(BAREMETALPI)

tic_net* tic_net_create(const char* host) {return NULL;}
void tic_net_get(tic_net* net, const char* url, net_get_callback callback, void* calldata) {}
void tic_net_close(tic_net* net) {}
void tic_net_start(tic_net *net) {}
void tic_net_end(tic_net *net) {}

#elif defined(USE_LIBUV)

#include "defines.h"
Expand Down Expand Up @@ -745,4 +737,12 @@ void tic_net_end(tic_net *net)
}
}

#elif

tic_net* tic_net_create(const char* host) {return NULL;}
void tic_net_get(tic_net* net, const char* url, net_get_callback callback, void* calldata) {}
void tic_net_close(tic_net* net) {}
void tic_net_start(tic_net *net) {}
void tic_net_end(tic_net *net) {}

#endif

0 comments on commit d341181

Please sign in to comment.