pragma once

This commit is contained in:
Martin Brodbeck 2024-02-16 21:05:25 +01:00
parent 08885a3aac
commit 99565d260b
3 changed files with 6 additions and 15 deletions

View file

@ -1,5 +1,4 @@
#ifndef KEYER_H #pragma once
#define KEYER_H
#include "settings.h" #include "settings.h"
#include "sidetone.h" #include "sidetone.h"
@ -42,6 +41,4 @@ class Keyer final
bool m_currentlyKeying{false}; bool m_currentlyKeying{false};
bool m_currentlyPausing{false}; bool m_currentlyPausing{false};
bool m_keyNextIambicB{false}; bool m_keyNextIambicB{false};
}; };
#endif

View file

@ -1,5 +1,4 @@
#ifndef SETTINGS_H #pragma once
#define SETTINGS_H
#include "pico/flash.h" #include "pico/flash.h"
@ -18,6 +17,4 @@ struct Settings {
}; };
void store_settings(Settings &settings); void store_settings(Settings &settings);
Settings read_settings(); Settings read_settings();
#endif

View file

@ -1,5 +1,4 @@
#ifndef SIDETONE_H #pragma once
#define SIDETONE_H
class Sidetone class Sidetone
{ {
@ -11,6 +10,4 @@ class Sidetone
private: private:
Sidetone(){}; Sidetone(){};
uint m_gpio{0}; uint m_gpio{0};
}; };
#endif