Austin Shalit
ed1a94531a
Update license headers to 2017 ( #434 )
2017-01-01 00:05:57 -08:00
Tyler Veness
69422dc063
Replaced floats with doubles ( #355 )
...
This makes our APIs more consistent. With optimizations enabled, doubles are just as efficient as floats on ARMv7, so we should take advantage of the extra precision.
2016-11-20 07:25:03 -08:00
Thad House
3fe0f49ac0
Moves NI headers to their own folder in the repo ( #324 )
2016-11-04 01:22:28 -07:00
Thad House
df4a2c07f0
Checks for system initialization in functions that can be called before creating handle based objects ( #285 )
2016-10-23 10:00:34 -07:00
Tyler Veness
2c94d0ba2f
Cleaned up integer type usage in the HAL ( #192 )
...
Replaced all uses of built-in types except char with stdint.h typedefs and all unsigned types with signed in the HAL
2016-09-06 19:39:28 -07:00
Thad House
0901ae0808
Switches the HAL structs to use unique_ptr ( #183 )
2016-07-20 22:05:17 -07:00
Tyler Veness
0cb288ffba
Fixes warnings thrown by cpplint.py ( #154 )
...
* Fixed cpplint.py [runtime/int] warnings
* Fixed cpplint.py [readability/casting] warnings
* Fixed cpplint.py [readability/namespace] warnings
* Fixed cpplint.py [readability/braces] warnings
* Fixed cpplint.py [whitespace/braces] warnings
* Fixed cpplint.py [runtime/explicit] warnings
* Fixed cpplint.py [runtime/printf] warnings
* Fixed cpplint.py [readability/inheritance] warnings
* Fixed cpplint.py [whitespace/tab] warnings
* Fixed cpplint.py [build/storage_class] warnings
* Fixed cpplint.py [readability/multiline_comment] warnings
* Fixed cpplint.py [whitespace/semicolon] warnings
* Fixed cpplint.py [readability/check] warnings
* Fixed cpplint.py [runtime/arrays] warnings
* Ran format.py
2016-07-10 17:47:44 -07:00
Thad House
b637b9ee4c
Prepends all HAL functions with HAL_ ( #146 )
2016-07-09 00:24:26 -07:00
Thad House
b45e0917ae
Adds port constants to the HAL ( #130 )
2016-07-02 23:19:14 -07:00
Thad House
e8e052712e
Switches AnalogInputs and AnalogTriggers to Handles ( #117 )
...
Results in a breaking change to AnalogTrigger int constructor. If a user wants
multiple AnalogTriggers, they must use the AnalogInput constructor.
2016-06-27 21:32:30 -07:00
Thad House
fc515f4572
Changes HAL Port from a pointer to a handle ( #93 )
...
HAL Port is using a special handle, where the module and pin are bit
shifted straight into the handle. This is one of the few special cases
we have, but for the way port is used it is much cleaner and uses much
less memory. Plus it is generic and not specific to one type.
2016-06-05 15:23:58 -07:00
Thad House
ed7d2d6aa6
Splits the HAL Analog Implementation Files ( #82 )
2016-05-26 22:14:25 -07:00