![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
SmartMesh QSL for STM32F4 version
Fork of COG-AD4050_QSL by
dn_lock.c@0:8ca1e814a851, 2018-05-02 (annotated)
- Committer:
- APS_Lab
- Date:
- Wed May 02 09:26:10 2018 +0000
- Revision:
- 0:8ca1e814a851
version1
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
APS_Lab | 0:8ca1e814a851 | 1 | /* |
APS_Lab | 0:8ca1e814a851 | 2 | Copyright (c) 2016, Dust Networks. All rights reserved. |
APS_Lab | 0:8ca1e814a851 | 3 | |
APS_Lab | 0:8ca1e814a851 | 4 | Port of the lock module to the NUCLEO-L053R8. |
APS_Lab | 0:8ca1e814a851 | 5 | |
APS_Lab | 0:8ca1e814a851 | 6 | \license See attached DN_LICENSE.txt. |
APS_Lab | 0:8ca1e814a851 | 7 | */ |
APS_Lab | 0:8ca1e814a851 | 8 | |
APS_Lab | 0:8ca1e814a851 | 9 | #include "dn_lock.h" |
APS_Lab | 0:8ca1e814a851 | 10 | |
APS_Lab | 0:8ca1e814a851 | 11 | //=========================== variables ======================================= |
APS_Lab | 0:8ca1e814a851 | 12 | |
APS_Lab | 0:8ca1e814a851 | 13 | //=========================== prototypes ====================================== |
APS_Lab | 0:8ca1e814a851 | 14 | |
APS_Lab | 0:8ca1e814a851 | 15 | //=========================== public ========================================== |
APS_Lab | 0:8ca1e814a851 | 16 | |
APS_Lab | 0:8ca1e814a851 | 17 | void dn_lock() { |
APS_Lab | 0:8ca1e814a851 | 18 | // this sample is single threaded, no need to lock. |
APS_Lab | 0:8ca1e814a851 | 19 | } |
APS_Lab | 0:8ca1e814a851 | 20 | |
APS_Lab | 0:8ca1e814a851 | 21 | void dn_unlock() { |
APS_Lab | 0:8ca1e814a851 | 22 | // this sample is single threaded, no need to lock. |
APS_Lab | 0:8ca1e814a851 | 23 | } |
APS_Lab | 0:8ca1e814a851 | 24 | |
APS_Lab | 0:8ca1e814a851 | 25 | //=========================== private ========================================= |
APS_Lab | 0:8ca1e814a851 | 26 | |
APS_Lab | 0:8ca1e814a851 | 27 | //=========================== helpers ========================================= |
APS_Lab | 0:8ca1e814a851 | 28 |