编译报错61: warning: initialization from incompatible pointer type报错
时间:10-02
整理:3721RD
点击:
对应源码位置61行为:
59 // Sysfs definitions for hcsr04 class
60 static struct class_attribute hcsr04_class_attrs[] = {
61 __ATTR(value, S_IRUGO | S_IWUSR, hcsr04_value_read, hcsr04_value_write),
62 __ATTR_NULL,
63 };
59 // Sysfs definitions for hcsr04 class
60 static struct class_attribute hcsr04_class_attrs[] = {
61 __ATTR(value, S_IRUGO | S_IWUSR, hcsr04_value_read, hcsr04_value_write),
62 __ATTR_NULL,
63 };
已退回1积分