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