Consistency and fixing thread unit tests
This commit is contained in:
@@ -101,7 +101,7 @@ errorret_t networkPSPUpdate() {
|
||||
|
||||
// Kill the PSP network stack.
|
||||
errorret_t err = networkPSPTerm();
|
||||
if(err.code != ERROR_OK) {
|
||||
if(errorIsNotOk(err)) {
|
||||
errorCatch(errorPrint(err));
|
||||
}
|
||||
|
||||
@@ -203,7 +203,7 @@ void networkPSPRequestDisconnection(
|
||||
);
|
||||
|
||||
errorret_t err = networkPSPTerm();
|
||||
if(err.code != ERROR_OK) {
|
||||
if(errorIsNotOk(err)) {
|
||||
errorCatch(errorPrint(err));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user