Create buttons module

Temporarily just logging button presses, as alarms module doesn't yet
exist.
This commit is contained in:
2023-05-16 21:11:41 +01:00
parent 82334be492
commit c82af79d52
6 changed files with 128 additions and 3 deletions

View File

@@ -0,0 +1,16 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) Camden Dixie O'Brien
*/
#ifndef BUTTONS_H
#define BUTTONS_H
typedef void (*ButtonCallback)(void);
/**
* Initialize the buttons module.
*/
void buttons_init(void);
#endif