Skip to content

Commit

Permalink
[test]: fix compilation error on gcc platform.
Browse files Browse the repository at this point in the history
  • Loading branch information
XuGuohui committed Sep 29, 2020
1 parent 8dfb17c commit 804745f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions user/tests/unit/stubs/system_network.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ void network_on(network_handle_t network, uint32_t flags, uint32_t param1, void*
void network_off(network_handle_t network, uint32_t flags, uint32_t param1, void* reserved) {
}

bool network_is_on(network_handle_t network, void* reserved) {
return false;
}

bool network_is_off(network_handle_t network, void* reserved) {
return false;
}

void network_connect(network_handle_t network, uint32_t flags, uint32_t param1, void* reserved) {
}

Expand Down

0 comments on commit 804745f

Please sign in to comment.