Skip to content

Challenge Event Updates at program end #627

@twells46

Description

@twells46

Challenge event updates that should occur at the end of a program don't get recorded in the database. I haven't looked into it yet to determine if the events aren't firing at all or if they aren't getting sent properly.

For example, a program like this should obviously complete challenge 19, but will not show up on the leaderboard.

#include <stdio.h>
#include <kipr/wombat.h>

int main()
{
  motor(0, 50);
  motor(3, 50);
  while(!digital(0));
  return 0;
}

The onSetEventValue_ function in src/pages/ChallengeRoot.tsx might be a good place to start.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions