We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I sometimes encountered with a compile error "a label can only be part of a statement and a declaration is not a statement".
For example,
app/src/behaviors/behavior_key_toggle.c:43: case FLIP: bool pressed = zmk_hid_is_pressed(binding->param1);
app/src/usb_hid.c:68 case ZMK_HID_REPORT_ID_MOUSE: static struct zmk_hid_mouse_resolution_feature_report res_feature_report;
and in both cases, I could compile if I add an empty statement (i.e., adding an ";") after the case labels.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I sometimes encountered with a compile error "a label can only be part of a statement and a declaration is not a statement".
For example,
app/src/behaviors/behavior_key_toggle.c:43:
case FLIP:
bool pressed = zmk_hid_is_pressed(binding->param1);
app/src/usb_hid.c:68
case ZMK_HID_REPORT_ID_MOUSE:
static struct zmk_hid_mouse_resolution_feature_report res_feature_report;
and in both cases, I could compile if I add an empty statement (i.e., adding an ";") after the case labels.
The text was updated successfully, but these errors were encountered: