Merge pull request #7807 from hasnainvirk/warning_fix

Compiler warning: unused variable in LoRaMac.h
pull/7890/head
Cruz Monrreal 2018-08-21 09:53:26 -05:00 committed by GitHub
commit bf26cbf330
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -475,11 +475,13 @@ public:
{
osStatus status = _mutex.lock();
MBED_ASSERT(status == osOK);
(void) status;
}
void unlock(void)
{
osStatus status = _mutex.unlock();
MBED_ASSERT(status == osOK);
(void) status;
}
#else
void lock(void) { }