blob: 94a65d49fe90a69151d26a4359753f33d6b11c1b [file] [log] [blame]
James Kuszmaul4f3ad3c2019-12-01 16:35:21 -08001/*----------------------------------------------------------------------------*/
2/* Copyright (c) 2019 FIRST. All Rights Reserved. */
3/* Open Source Software - may be modified and shared by FRC teams. The code */
4/* must be accompanied by the FIRST BSD license file in the root directory of */
5/* the project. */
6/*----------------------------------------------------------------------------*/
7
8#include "hal/SimDevice.h"
9
10extern "C" {
11
12HAL_SimDeviceHandle HAL_CreateSimDevice(const char* name) { return 0; }
13
14void HAL_FreeSimDevice(HAL_SimDeviceHandle handle) {}
15
16HAL_SimValueHandle HAL_CreateSimValue(HAL_SimDeviceHandle device,
17 const char* name, HAL_Bool readonly,
18 const struct HAL_Value* initialValue) {
19 return 0;
20}
21
22HAL_SimValueHandle HAL_CreateSimValueEnum(HAL_SimDeviceHandle device,
23 const char* name, HAL_Bool readonly,
24 int32_t numOptions,
25 const char** options,
26 int32_t initialValue) {
27 return 0;
28}
29
30void HAL_GetSimValue(HAL_SimValueHandle handle, struct HAL_Value* value) {
31 value->type = HAL_UNASSIGNED;
32}
33
34void HAL_SetSimValue(HAL_SimValueHandle handle, const struct HAL_Value* value) {
35}
36
37hal::SimDevice::SimDevice(const char* name, int index) {}
38
39hal::SimDevice::SimDevice(const char* name, int index, int channel) {}
40
41} // extern "C"