renamed types and constants
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include "../tim.h" // one header, no lib
|
||||
int main(void) { //
|
||||
#include "../tim.h"
|
||||
|
||||
int main(void) {
|
||||
while (tim_run(0)) { // event loop
|
||||
scope (A, A, 24, 8) { // centered 24x8 scope
|
||||
uint64_t c = 0x0a060f; // three colors
|
||||
@@ -9,7 +10,7 @@ int main(void) { //
|
||||
return 0; // exit on button click
|
||||
if (is_key_press('q')) // ctrl-c is masked
|
||||
return 0; // exit on 'q' press
|
||||
} //
|
||||
} // atexit cleanup
|
||||
}
|
||||
} //TODO: remove atexit cleanup
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user