Adding None capability.

- Required for 0.3b update of the KLL compiler.
This commit is contained in:
Jacob Alexander 2015-05-02 14:29:27 -07:00
parent 1db716ce53
commit fd25312f4f
3 changed files with 21 additions and 4 deletions

View file

@ -229,6 +229,21 @@ void Output_consCtrlSend_capability( uint8_t state, uint8_t stateType, uint8_t *
}
// Ignores the given key status update
// Used to prevent fall-through, this is the None keyword in KLL
void Output_noneSend_capability( uint8_t state, uint8_t stateType, uint8_t *args )
{
// Display capability name
if ( stateType == 0xFF && state == 0xFF )
{
print("Output_noneSend()");
return;
}
// Nothing to do, because that's the point :P
}
// Sends a System Control code to the USB Output buffer
void Output_sysCtrlSend_capability( uint8_t state, uint8_t stateType, uint8_t *args )
{