HAL_I2C_Mem_Write() is not setting the address Write bit
I am using the HAL library on a STM32L476RG and have been having trouble getting data out of a sensor. By looking at the signal with a scope I've noticed that the write bit of the device address is not being set when I try to write to the sensor's registers. I am able to read the device ID just fine. I have been going through the HAL_I2C_Mem_Write() function but nothing jumps out at me. I have used this library before with great results.
What could be causing this?