From d060dce4ec03dad8bcde265ff5b5eb68cd009ea2 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Sat, 15 Aug 2020 08:44:02 -0400 Subject: move drivers into namespaces --- source/dac.hpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'source/dac.hpp') diff --git a/source/dac.hpp b/source/dac.hpp index ce67f40..9d529bf 100644 --- a/source/dac.hpp +++ b/source/dac.hpp @@ -14,9 +14,12 @@ #include "hal.h" -void dac_init(); -void dac_write_start(dacsample_t *buffer, size_t count); -void dac_write_stop(); +namespace dac +{ + void init(); + void write_start(dacsample_t *buffer, size_t count); + void write_stop(); +} #endif // STMDSP_DAC_HPP_ -- cgit v1.2.3