Misc: Make struct member functions file-local
This commit is contained in:
@ -21,6 +21,8 @@
|
||||
Log_SetChannel(Timers);
|
||||
|
||||
namespace Timers {
|
||||
namespace {
|
||||
|
||||
static constexpr u32 NUM_TIMERS = 3;
|
||||
|
||||
enum class SyncMode : u8
|
||||
@ -60,6 +62,8 @@ struct CounterState
|
||||
bool irq_done;
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
||||
static void UpdateCountingEnabled(CounterState& cs);
|
||||
static void CheckForIRQ(u32 index, u32 old_counter);
|
||||
static void UpdateIRQ(u32 index);
|
||||
|
||||
Reference in New Issue
Block a user