Add stub for setting power messages

This commit is contained in:
dingusdev 2024-07-26 07:31:31 -07:00
parent a20ebade09
commit 7d6e87a0d3
2 changed files with 4 additions and 0 deletions

View File

@ -691,6 +691,9 @@ void ViaCuda::pseudo_command() {
this->one_sec_mode = this->in_buf[2];
response_header(CUDA_PKT_PSEUDO, 0);
break;
case CUDA_SET_POWER_MESSAGES:
response_header(CUDA_PKT_PSEUDO, 0);
break;
case CUDA_READ_WRITE_I2C:
response_header(CUDA_PKT_PSEUDO, 0);
i2c_simple_transaction(this->in_buf[2], &this->in_buf[3], this->in_count - 3);

View File

@ -128,6 +128,7 @@ enum {
CUDA_SET_DEVICE_LIST = 0x19, /* set device list */
CUDA_GET_DEVICE_LIST = 0x1A, /* get device list */
CUDA_ONE_SECOND_MODE = 0x1B, /* one second interrupt mode */
CUDA_SET_POWER_MESSAGES = 0x21, /* set power message flag */
CUDA_READ_WRITE_I2C = 0x22, /* read/write I2C device */
CUDA_COMB_FMT_I2C = 0x25, /* combined format I2C transaction */
CUDA_OUT_PB0 = 0x26, /* output one bit to Cuda's PB0 line */