mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
Cleans up error writing, and allows fewer headers to be included in many of the wpilibc cpp files. This removes all usages of the hal/HAL.h header.
20 lines
730 B
C++
20 lines
730 B
C++
/*----------------------------------------------------------------------------*/
|
|
/* Copyright (c) 2017-2019 FIRST. All Rights Reserved. */
|
|
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
|
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
|
/* the project. */
|
|
/*----------------------------------------------------------------------------*/
|
|
|
|
#include <iostream>
|
|
|
|
#include <hal/HALBase.h>
|
|
|
|
#include "WPILibVersion.h"
|
|
|
|
int main() {
|
|
std::cout << "Hello World" << std::endl;
|
|
std::cout << HAL_GetRuntimeType() << std::endl;
|
|
std::cout << GetWPILibVersion() << std::endl;
|
|
return 0;
|
|
}
|