2 ms·
This is good, and objectively better than letting the random unbounded length of the function name define and inflate and randomize the indentation. It also mak
by DonHopkins 1y ago
This is good, and objectively better than letting the random unbounded length of the function name define and inflate and randomize the indentation. It also makes it easier to use long descriptive function names without fucking up the indentation.
setup_spi(&adc,
mode=SPI_01,
rate=15,
cs_control=CS_MUXED,
cs=0x01
);
setup_spoo(&adc,
mode=SPI_01,
rate=15,
cs_control=CS_MUXED,
cs=0x01
);
setup_s(&adc,
mode=SPI_01,
rate=15,
cs_control=CS_MUXED,
cs=0x01
);
validate_and_register_spi_spoo_s(&adc,
mode=SPI_01,
rate=15,
cs_control=CS_MUXED,
cs=0x01
);
- DemocracyFTW2 1y agoHere, fixed it for you: setup_spi( &adc, mode = SPI_01, rate = 15, cs_control = CS_MUXED, cs = 0x01 ); setup_spoo( &adc, mode = SPI_01, rate = 15, cs_control = CS_MUXED, cs = 0x01 ); setup_s( &adc, mode = SPI_01, rate = 15, cs_control = CS_MUXED, cs = 0x01 ); validate_and_register_spi_spoo_s( &adc, mode = SPI_01, rate = 15, cs_control = CS_MUXED, cs = 0x01 );