blob: 27be21b54ae501cf739420498465c8f1d7bd36c6 [file] [log] [blame]
#include "occ_device.hpp"
#include "occ_bus.hpp"
namespace open_power
{
namespace occ
{
fs::path Bus::bindPath = fs::path(OCC_BUS_PATH) / "bind";
fs::path Bus::unBindPath = fs::path(OCC_BUS_PATH) / "unbind";
void Bus::reset() const
{
#ifndef I2C_OCC
Device::write(unBindPath, config);
Device::write(bindPath, config);
#endif
}
} // namespace occ
} // namespace open_power