@ -42,16 +42,18 @@ KEYMAPS(
KALEIDOSCOPE_INIT_PLUGINS ( EEPROMSettings ) ;
KALEIDOSCOPE_INIT_PLUGINS ( EEPROMSettings ) ;
void setup ( ) {
void setup ( ) {
Kaleidoscope . serialPort ( ) . begin ( 9600 ) ;
auto & serial_port = Kaleidoscope . serialPort ( ) ;
serial_port . begin ( 9600 ) ;
Kaleidoscope . setup ( ) ;
Kaleidoscope . setup ( ) ;
while ( ! Kaleidoscope. serialPort ( ) ) {
while ( ! serial_port ) {
}
}
Kaleidoscope. serialPort ( ) . println ( EEPROMSettings . isValid ( ) ? F ( " valid EEPROM settings " ) : F ( " invalid EEPROM settings " ) ) ;
serial_port . println ( EEPROMSettings . isValid ( ) ? F ( " valid EEPROM settings " ) : F ( " invalid EEPROM settings " ) ) ;
Kaleidoscope. serialPort ( ) . println ( EEPROMSettings . crc ( ) , HEX ) ;
serial_port . println ( EEPROMSettings . crc ( ) , HEX ) ;
Kaleidoscope. serialPort ( ) . println ( EEPROMSettings . version ( ) ) ;
serial_port . println ( EEPROMSettings . version ( ) ) ;
}
}
void loop ( ) {
void loop ( ) {