blob: 50cc9ab42de69fd8ca9717ddf14bc4d880d8d804 [file] [log] [blame]
Austin Schuh812d0d12021-11-04 20:16:48 -07001// Copyright (c) FIRST and other WPILib contributors.
2// Open Source Software; you can modify and/or share it under the terms of
3// the WPILib BSD license file in the root directory of this project.
Brian Silverman8fce7482020-01-05 13:18:21 -08004
5#include "HALInitializer.h"
6
Austin Schuh1e69f942020-11-14 15:06:14 -08007#include "hal/HALBase.h"
Brian Silverman8fce7482020-01-05 13:18:21 -08008
Austin Schuh812d0d12021-11-04 20:16:48 -07009namespace hal::init {
Brian Silverman8fce7482020-01-05 13:18:21 -080010std::atomic_bool HAL_IsInitialized{false};
Austin Schuh812d0d12021-11-04 20:16:48 -070011void RunInitialize() {
12 HAL_Initialize(500, 0);
13}
14} // namespace hal::init