Skip to content
Snippets Groups Projects

Add vibra module

Merged Gerd requested to merge gerd/firmware:gerd/module/vibra into master
1 unresolved thread

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
8 if (state_obj == mp_const_true) {
9 epic_vibra_set(1);
10 } else if (state_obj == mp_const_false){
11 epic_vibra_set(0);
12 } else {
13 mp_raise_TypeError("expected bool");
14 }
15 return mp_const_none;
16 }
17 STATIC MP_DEFINE_CONST_FUN_OBJ_1(vibra_set_obj, mp_vibra_set);
18
19 // Define all properties of the example module.
20 // Table entries are key/value pairs of the attribute name (a string)
21 // and the MicroPython object reference.
22 // All identifiers and strings are written as MP_QSTR_xxx and will be
23 // optimized to word-sized integers by the build system (interned strings).
  • Please apply tools/code-style.sh

  • Gerd added 26 commits

    added 26 commits

    Compare with previous version

  • Gerd assigned to @rahix

    assigned to @rahix

  • Gerd added 1 commit

    added 1 commit

    Compare with previous version

  • merged

  • rahix mentioned in commit d6a66403

    mentioned in commit d6a66403

  • Please register or sign in to reply
    Loading