NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
void SetAbortFlag ( byte  abortFlag)
inline

Set abort flag.

Set the enhanced NBC/NXC firmware's program abort flag. By default the running program can be interrupted by a short press of the escape button. You can change this to any other button state flag.

Parameters
abortFlagThe new abort flag value. See ButtonState constants
Warning
This function requires the enhanced NBC/NXC firmware.
Examples:
ex_SetAbortFlag.nxc, and ex_SetLongAbort.nxc.