diff --git a/channel.c b/channel.c index 6905a7655..c35454570 100644 --- a/channel.c +++ b/channel.c @@ -113,9 +113,9 @@ static const char * const modifier_names[] = { [IIO_MOD_PM2P5] = "pm2p5", [IIO_MOD_PM4] = "pm4", [IIO_MOD_PM10] = "pm10", - [IIO_MOD_LINEAR_X] = "x-g", - [IIO_MOD_LINEAR_Y] = "y-g", - [IIO_MOD_LINEAR_Z] = "z-g", + [IIO_MOD_LINEAR_X] = "linear_x", + [IIO_MOD_LINEAR_Y] = "linear_y", + [IIO_MOD_LINEAR_Z] = "linear_z", [IIO_MOD_PITCH] = "pitch", [IIO_MOD_YAW] = "yaw", [IIO_MOD_ROLL] = "roll",