arm: async uart writes & fixes
This commit is contained in:
@@ -6,7 +6,7 @@ struct Gpio {
|
||||
volatile uint32_t data;
|
||||
};
|
||||
|
||||
#define gpio0 ((Gpio*) 0x40000000)
|
||||
#define gpio0 ((Gpio*)0x40000000)
|
||||
|
||||
inline void ToggleLed(int which) {
|
||||
uint8_t data = gpio0->data;
|
||||
|
||||
Reference in New Issue
Block a user