001/* Copyright (C) Cross The Road Electronics 2024 */
002package com.ctre.phoenix;
003/**
004 * Sticky Faults for CANifier (Currently has none)
005 */
006public class CANifierStickyFaults {
007        /**
008         * @return true if any faults are tripped
009         */
010        public boolean hasAnyFault() {
011                return false;
012        }
013        /**
014         * @return Current fault list as a bit field
015         */
016        public int toBitfield() {
017                int retval = 0;
018                return retval;
019        }
020        /**
021         * Updates current fault list with specified bit field of faults
022         * 
023         * @param bits bit field of faults to update with
024         */
025        public void update(int bits) {
026        }
027        public CANifierStickyFaults() {
028        }
029};