Rev 71 | Rev 73 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 71 | Rev 72 | ||
|---|---|---|---|
| Line 113... | Line 113... | ||
| 113 | 113 | ||
| 114 | // the dial is the switch number we are using. |
114 | // the dial is the switch number we are using. |
| 115 | // suppress is the ItemIndex we wish to suppress on this display |
115 | // suppress is the ItemIndex we wish to suppress on this display |
| 116 | int DisplayCurrent(int dial, int suppress) |
116 | int DisplayCurrent(int dial, int suppress) |
| 117 | { |
117 | { |
| 118 | if (contexts[dial].knobPos < 0) |
- | |
| 119 | return -1; |
- | |
| 120 | return cc_display(dial, suppress); |
118 | return cc_display(dial, suppress); |
| 121 | } |
119 | } |
| 122 | 120 | ||
| 123 | /// \note HC-05 only accepts : 9600,19200,38400,57600,115200,230400,460800 baud |
121 | /// \note HC-05 only accepts : 9600,19200,38400,57600,115200,230400,460800 baud |
| 124 | /// \brief Setup Bluetooth module |
122 | /// \brief Setup Bluetooth module |