mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
Move SYS_TICK_HZ to rtl837x_common.h
The definition is needed everywhere in the code where the ticks need to be related to seconds.
This commit is contained in:
1 parent
fd1d14a3e7
commit
5eecab4844
1 file changed
+2
@@ -5,6 +5,8 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
|
#define SYS_TICK_HZ 200
|
||||||
|
|
||||||
// SCL and SDA pin numbers for SFP cage 0 and SFP cage 1
|
// SCL and SDA pin numbers for SFP cage 0 and SFP cage 1
|
||||||
#define SCL_PIN 3
|
#define SCL_PIN 3
|
||||||
#define SDA_PIN_0 4
|
#define SDA_PIN_0 4
|
||||||
|
|||||||
Reference in new issue
Block a user