mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
Fix some warnings
This commit is contained in:
@@ -27,7 +27,7 @@ ISR InitialisationVector[INITIALISATION_VECTOR_SIZE]
|
||||
0
|
||||
};
|
||||
|
||||
void main(int argc, char * argv[]);
|
||||
int main(int argc, char * argv[]);
|
||||
|
||||
void _start(void) {
|
||||
// This is where execution starts after reset.
|
||||
|
||||
@@ -22,18 +22,18 @@ int main(int argc, char * argv[]) {
|
||||
// And we should also set the output speed, but really
|
||||
// we don't care (we're doing something super slow)
|
||||
|
||||
long delay = 10000;
|
||||
long delay = 50000;
|
||||
|
||||
while (1) {
|
||||
GPIO_ODR(GPIOG)->ODR13 = 0;
|
||||
GPIO_ODR(GPIOG)->ODR14 = 1;
|
||||
|
||||
sleep(100000);
|
||||
sleep(delay);
|
||||
|
||||
GPIO_ODR(GPIOG)->ODR13 = 1;
|
||||
GPIO_ODR(GPIOG)->ODR14 = 0;
|
||||
|
||||
sleep(100000);
|
||||
sleep(delay);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user