File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
firmware/chipignite/polysat/src Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ void configure_io() {
7575 reg_mprj_io_28 = GPIO_MODE_MGMT_STD_INPUT_NOPULL ;
7676 reg_mprj_io_29 = GPIO_MODE_MGMT_STD_INPUT_NOPULL ;
7777 reg_mprj_io_30 = GPIO_MODE_MGMT_STD_INPUT_PULLUP ; // High
78- reg_mprj_io_31 = GPIO_MODE_MGMT_STD_INPUT_PULLDOWN ; // Low
78+ reg_mprj_io_31 = GPIO_MODE_MGMT_STD_INPUT_PULLUP ; // Low
7979 reg_mprj_io_32 = GPIO_MODE_MGMT_STD_INPUT_PULLUP ; // High
8080 reg_mprj_io_33 = GPIO_MODE_MGMT_STD_OUTPUT ; // Controlled by the code
8181 reg_mprj_io_34 = GPIO_MODE_MGMT_STD_INPUT_NOPULL ;
@@ -156,11 +156,9 @@ void main() {
156156 // Main loop - echo received characters and blink LED and
157157 while (true) {
158158 if (!pulse ) {
159- led_off ();
160159 // Set GPIO 33 low (bit 1)
161160 gpio_clear (33 );
162161 } else {
163- led_on ();
164162 // Set GPIO 33 high (bit 1)
165163 gpio_set (33 , true);
166164 }
You can’t perform that action at this time.
0 commit comments