kopia lustrzana https://github.com/OpenRTX/OpenRTX
Update FT70D blinky to reference correct preprocessor variable
rodzic
5a544b7a2e
commit
18261c9e7e
|
@ -1,4 +1,4 @@
|
|||
#ifndef PLATFORM_FT70
|
||||
#ifndef PLATFORM_FT70D
|
||||
#error "Blinky test is only available for FT-70D"
|
||||
#endif
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
|||
#define RED1_PIN (1 << 0)// M13
|
||||
#define RED1_PORT PI
|
||||
|
||||
void main() {
|
||||
int main(void) {
|
||||
RED1_PORT.DR.BYTE = 0;
|
||||
PI.DDR = RED1_PIN;
|
||||
RED1_PORT.DR.BYTE |= RED1_PIN;
|
||||
|
|
Ładowanie…
Reference in New Issue