mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-08-04 00:10:42 -04:00
Change preprocessor directive for random solenoid firing (#26377)
Fix define verification
This commit is contained in:
@@ -86,7 +86,7 @@ void solenoid_fire(uint8_t index) {
|
||||
*
|
||||
*/
|
||||
void solenoid_fire_handler(void) {
|
||||
#ifndef SOLENOID_RANDOM_FIRE
|
||||
#ifdef SOLENOID_RANDOM_FIRE
|
||||
if (NUMBER_OF_SOLENOIDS > 1) {
|
||||
uint8_t i = rand() % NUMBER_OF_SOLENOIDS;
|
||||
if (!solenoid_on[i]) {
|
||||
|
||||
Reference in New Issue
Block a user