浏览代码

Add include guard to vibration.h

old_master
Kai Ryu 9 年前
父节点
当前提交
a271d560b1
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5
    0
      keyboard/tentapad/vibration.h

+ 5
- 0
keyboard/tentapad/vibration.h 查看文件

@@ -15,6 +15,9 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef VIBRATION_H
#define VIBRATION_H

#include <stdint.h>

void vibration_init(void);
@@ -22,3 +25,5 @@ void vibration_task(void);
void vibration_enable(void);
void vibration_disable(void);
void vibration(uint16_t duration);

#endif