The code you are trying to edit is under a folder with the "synergy" in the name, hence, this is code that you should not try to edit, as it is either extracted from the SSP pack file (or in other cases, the code is generated code) when the project contents is generated. The problem with the enum is fixed in the up coming SSP 1.1.0 release. In SSP 1.0.0 for the SK board, you will have to use the LED number directly :- g_ioport.p_api- pinWrite(Leds.p_leds[0] ,IOPORT_LEVEL_HIGH); g_ioport.p_api- pinWrite(Leds.p_leds[1] ,IOPORT_LEVEL_HIGH); g_ioport.p_api- pinWrite(Leds.p_leds[2] ,IOPORT_LEVEL_HIGH); or create you own enum or define for the LEDs.
↧