lego1: implement more of LegoNavController (#16)

* implement more of LegoNavController

* merge

* use MX_FALSE

* file file perms

* added Timer(), GetTime to LegoNavController

* add a comment about SetControlMax

* remove colon

* add commented out dtor

* revert inheritance for now so we don't accidentally break the interface to ISLE.exe later

* add missing include

* update project files

* update project files

* fix main.cpp

* add offsets

* update project files

* fix line endings

* fix a bug thanks to ASM checker

* add addr for Timer()

* updated project file
This commit is contained in:
Christian Semmler
2023-06-19 10:34:58 +02:00
committed by GitHub
parent f9f8440a3a
commit 5c440b5878
8 changed files with 334 additions and 35 deletions

10
LEGO1/legoutil.h Normal file
View File

@@ -0,0 +1,10 @@
#ifndef LEGOUTIL_H
#define LEGOUTIL_H
template <class T>
inline T Abs(T p_t)
{
return p_t < 0 ? -p_t : p_t;
}
#endif // LEGOUTIL_H