Skip to content

Commit

Permalink
simplify clock config
Browse files Browse the repository at this point in the history
  • Loading branch information
bkleiner committed May 1, 2024
1 parent 426de16 commit 7fbf17b
Show file tree
Hide file tree
Showing 13 changed files with 273 additions and 2,748 deletions.
1 change: 0 additions & 1 deletion src/driver/at32/system.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#pragma once

#ifdef AT32F4
#include <at32f435_437_clock.h>
#include <at32f435_437_conf.h>
#endif

Expand Down
1 change: 0 additions & 1 deletion src/driver/at32/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ static void debug_time_init() {
}

void time_init() {
system_clock_config();
crm_periph_clock_enable(CRM_SCFG_PERIPH_CLOCK, TRUE);

// interrupt only every 1ms
Expand Down
141 changes: 0 additions & 141 deletions src/system/at32f435/at32f435_437_clock.c

This file was deleted.

45 changes: 0 additions & 45 deletions src/system/at32f435/at32f435_437_clock.h

This file was deleted.

Loading

0 comments on commit 7fbf17b

Please sign in to comment.